[40K] Implemented Royal Warden

This commit is contained in:
Evan Kranzler 2022-09-16 07:13:59 -04:00
parent f2d0edd63f
commit 87cc740369
2 changed files with 46 additions and 0 deletions

View file

@ -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);
}
}

View file

@ -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));