diff --git a/Mage.Sets/src/mage/cards/r/RoyalWarden.java b/Mage.Sets/src/mage/cards/r/RoyalWarden.java new file mode 100644 index 0000000000..9c4a04cc5b --- /dev/null +++ b/Mage.Sets/src/mage/cards/r/RoyalWarden.java @@ -0,0 +1,45 @@ +package mage.cards.r; + +import mage.MageInt; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.keyword.UnearthAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.game.permanent.token.NecronWarriorToken; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class RoyalWarden extends CardImpl { + + public RoyalWarden(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{3}{B}{B}"); + + this.subtype.add(SubType.NECRON); + this.power = new MageInt(3); + this.toughness = new MageInt(2); + + // Phalanx Commander -- When Royal Warden enters the battlefield, create two tapped 2/2 black Necron Warrior artifact creature tokens. + this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect( + new NecronWarriorToken(), 2, true, false + )).withFlavorWord("Phalanx Commander")); + + // Unearth {3}{B} + this.addAbility(new UnearthAbility(new ManaCostsImpl<>("{3}{B}"))); + } + + private RoyalWarden(final RoyalWarden card) { + super(card); + } + + @Override + public RoyalWarden copy() { + return new RoyalWarden(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Warhammer40000.java b/Mage.Sets/src/mage/sets/Warhammer40000.java index 743dc72d63..a439bcf21e 100644 --- a/Mage.Sets/src/mage/sets/Warhammer40000.java +++ b/Mage.Sets/src/mage/sets/Warhammer40000.java @@ -109,6 +109,7 @@ public final class Warhammer40000 extends ExpansionSet { cards.add(new SetCardInfo("Rampant Growth", 220, Rarity.COMMON, mage.cards.r.RampantGrowth.class)); cards.add(new SetCardInfo("Reliquary Tower", 291, Rarity.UNCOMMON, mage.cards.r.ReliquaryTower.class)); cards.add(new SetCardInfo("Reverberate", 207, Rarity.RARE, mage.cards.r.Reverberate.class)); + cards.add(new SetCardInfo("Royal Warden", 52, Rarity.RARE, mage.cards.r.RoyalWarden.class)); cards.add(new SetCardInfo("Rugged Highlands", 292, Rarity.COMMON, mage.cards.r.RuggedHighlands.class)); cards.add(new SetCardInfo("Screamer-Killer", 84, Rarity.RARE, mage.cards.s.ScreamerKiller.class)); cards.add(new SetCardInfo("Sol Ring", 249, Rarity.UNCOMMON, mage.cards.s.SolRing.class));