From ecd67cdab8171c7eeea61c443aa5ed9b2cba6217 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Thu, 18 Aug 2022 18:56:13 -0400 Subject: [PATCH] [DMU] Implemented Resolute Reinforcements --- .../mage/cards/r/ResoluteReinforcements.java | 43 +++++++++++++++++++ Mage.Sets/src/mage/sets/DominariaUnited.java | 1 + 2 files changed, 44 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/r/ResoluteReinforcements.java diff --git a/Mage.Sets/src/mage/cards/r/ResoluteReinforcements.java b/Mage.Sets/src/mage/cards/r/ResoluteReinforcements.java new file mode 100644 index 0000000000..ff385437b9 --- /dev/null +++ b/Mage.Sets/src/mage/cards/r/ResoluteReinforcements.java @@ -0,0 +1,43 @@ +package mage.cards.r; + +import mage.MageInt; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.keyword.FlashAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.game.permanent.token.SoldierToken; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class ResoluteReinforcements extends CardImpl { + + public ResoluteReinforcements(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{W}"); + + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.SOLDIER); + this.power = new MageInt(1); + this.toughness = new MageInt(1); + + // Flash + this.addAbility(FlashAbility.getInstance()); + + // When Resolute Reinforcements enters the battlefield, create a 1/1 white Soldier creature token. + this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new SoldierToken()))); + } + + private ResoluteReinforcements(final ResoluteReinforcements card) { + super(card); + } + + @Override + public ResoluteReinforcements copy() { + return new ResoluteReinforcements(this); + } +} diff --git a/Mage.Sets/src/mage/sets/DominariaUnited.java b/Mage.Sets/src/mage/sets/DominariaUnited.java index d338243923..2ef84b0f30 100644 --- a/Mage.Sets/src/mage/sets/DominariaUnited.java +++ b/Mage.Sets/src/mage/sets/DominariaUnited.java @@ -39,6 +39,7 @@ public final class DominariaUnited extends ExpansionSet { cards.add(new SetCardInfo("Llanowar Loamspeaker", 170, Rarity.RARE, mage.cards.l.LlanowarLoamspeaker.class)); cards.add(new SetCardInfo("Mountain", 280, Rarity.LAND, mage.cards.basiclands.Mountain.class, FULL_ART_BFZ_VARIOUS)); cards.add(new SetCardInfo("Plains", 277, Rarity.LAND, mage.cards.basiclands.Plains.class, FULL_ART_BFZ_VARIOUS)); + cards.add(new SetCardInfo("Resolute Reinforcements", 29, Rarity.UNCOMMON, mage.cards.r.ResoluteReinforcements.class)); cards.add(new SetCardInfo("Shivan Devastator", 143, Rarity.MYTHIC, mage.cards.s.ShivanDevastator.class)); cards.add(new SetCardInfo("Shivan Reef", 255, Rarity.RARE, mage.cards.s.ShivanReef.class)); cards.add(new SetCardInfo("Sulfurous Springs", 256, Rarity.RARE, mage.cards.s.SulfurousSprings.class));