diff --git a/Mage.Sets/src/mage/cards/r/RiseOfTheAnts.java b/Mage.Sets/src/mage/cards/r/RiseOfTheAnts.java new file mode 100644 index 0000000000..afb446d9c5 --- /dev/null +++ b/Mage.Sets/src/mage/cards/r/RiseOfTheAnts.java @@ -0,0 +1,38 @@ +package mage.cards.r; + +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.effects.common.GainLifeEffect; +import mage.abilities.keyword.FlashbackAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.game.permanent.token.RiseOfTheAntsToken; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class RiseOfTheAnts extends CardImpl { + + public RiseOfTheAnts(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{G}{G}"); + + // Create two 3/3 green Insect creature tokens. You gain 2 life. + this.getSpellAbility().addEffect(new CreateTokenEffect(new RiseOfTheAntsToken(), 2)); + this.getSpellAbility().addEffect(new GainLifeEffect(2).concatBy(".")); + + // Flashback {6}{G}{G} + this.addAbility(new FlashbackAbility(this, new ManaCostsImpl<>("{6}{G}{G}"))); + } + + private RiseOfTheAnts(final RiseOfTheAnts card) { + super(card); + } + + @Override + public RiseOfTheAnts copy() { + return new RiseOfTheAnts(this); + } +} diff --git a/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java b/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java index b32af10ceb..197b729949 100644 --- a/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java +++ b/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java @@ -231,6 +231,7 @@ public final class InnistradMidnightHunt extends ExpansionSet { cards.add(new SetCardInfo("Reckless Stormseeker", 157, Rarity.RARE, mage.cards.r.RecklessStormseeker.class)); cards.add(new SetCardInfo("Return to Nature", 195, Rarity.COMMON, mage.cards.r.ReturnToNature.class)); cards.add(new SetCardInfo("Revenge of the Drowned", 72, Rarity.COMMON, mage.cards.r.RevengeOfTheDrowned.class)); + cards.add(new SetCardInfo("Rise of the Ants", 196, Rarity.UNCOMMON, mage.cards.r.RiseOfTheAnts.class)); cards.add(new SetCardInfo("Rite of Harmony", 236, Rarity.RARE, mage.cards.r.RiteOfHarmony.class)); cards.add(new SetCardInfo("Ritual Guardian", 30, Rarity.COMMON, mage.cards.r.RitualGuardian.class)); cards.add(new SetCardInfo("Ritual of Hope", 31, Rarity.UNCOMMON, mage.cards.r.RitualOfHope.class)); diff --git a/Mage/src/main/java/mage/game/permanent/token/RiseOfTheAntsToken.java b/Mage/src/main/java/mage/game/permanent/token/RiseOfTheAntsToken.java new file mode 100644 index 0000000000..81167ac566 --- /dev/null +++ b/Mage/src/main/java/mage/game/permanent/token/RiseOfTheAntsToken.java @@ -0,0 +1,28 @@ +package mage.game.permanent.token; + +import mage.MageInt; +import mage.constants.CardType; +import mage.constants.SubType; + +/** + * @author TheElk801 + */ +public final class RiseOfTheAntsToken extends TokenImpl { + + public RiseOfTheAntsToken() { + super("Insect", "3/3 green Insect creature token"); + cardType.add(CardType.CREATURE); + color.setGreen(true); + subtype.add(SubType.INSECT); + power = new MageInt(3); + toughness = new MageInt(3); + } + + public RiseOfTheAntsToken(final RiseOfTheAntsToken token) { + super(token); + } + + public RiseOfTheAntsToken copy() { + return new RiseOfTheAntsToken(this); + } +} \ No newline at end of file