Implemented Trumpeting Gnarr

This commit is contained in:
Evan Kranzler 2020-04-03 14:08:44 -04:00
parent da721e2342
commit 05a818bb8e
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,42 @@
package mage.cards.t;
import mage.MageInt;
import mage.abilities.common.MutatesSourceTriggeredAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.keyword.MutateAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.game.permanent.token.BeastToken;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class TrumpetingGnarr extends CardImpl {
public TrumpetingGnarr(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{G}{U}");
this.subtype.add(SubType.BEAST);
this.power = new MageInt(3);
this.toughness = new MageInt(3);
// Mutate {3}{G/U}{G/U}
this.addAbility(new MutateAbility(this, "{3}{G/U}{G/U}"));
// Whenever this creature mutates, create a 3/3 green Beast creature token.
this.addAbility(new MutatesSourceTriggeredAbility(new CreateTokenEffect(new BeastToken())));
}
private TrumpetingGnarr(final TrumpetingGnarr card) {
super(card);
}
@Override
public TrumpetingGnarr copy() {
return new TrumpetingGnarr(this);
}
}

View file

@ -45,6 +45,7 @@ public final class IkoriaLairOfBehemoths extends ExpansionSet {
cards.add(new SetCardInfo("Snapdax, Apex of the Hunt", 209, Rarity.MYTHIC, mage.cards.s.SnapdaxApexOfTheHunt.class));
cards.add(new SetCardInfo("Sprite Dragon", 211, Rarity.UNCOMMON, mage.cards.s.SpriteDragon.class));
cards.add(new SetCardInfo("Titanoth Rex", 174, Rarity.UNCOMMON, mage.cards.t.TitanothRex.class));
cards.add(new SetCardInfo("Trumpeting Gnarr", 213, Rarity.UNCOMMON, mage.cards.t.TrumpetingGnarr.class));
cards.add(new SetCardInfo("Void Beckoner", 104, Rarity.UNCOMMON, mage.cards.v.VoidBeckoner.class));
cards.add(new SetCardInfo("Zagoth Crystal", 242, Rarity.UNCOMMON, mage.cards.z.ZagothCrystal.class));
cards.add(new SetCardInfo("Zagoth Mamba", 106, Rarity.UNCOMMON, mage.cards.z.ZagothMamba.class));