Implemented Phantom Ninja

This commit is contained in:
Evan Kranzler 2019-05-30 21:23:14 -04:00
parent cc7bdd9e1c
commit 65e85cf5bf
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,37 @@
package mage.cards.p;
import mage.MageInt;
import mage.abilities.keyword.CantBeBlockedSourceAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class PhantomNinja extends CardImpl {
public PhantomNinja(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{U}{U}");
this.subtype.add(SubType.ILLUSION);
this.subtype.add(SubType.NINJA);
this.power = new MageInt(2);
this.toughness = new MageInt(2);
// Phantom Ninja can't be blocked.
this.addAbility(new CantBeBlockedSourceAbility());
}
private PhantomNinja(final PhantomNinja card) {
super(card);
}
@Override
public PhantomNinja copy() {
return new PhantomNinja(this);
}
}

View file

@ -134,6 +134,7 @@ public final class ModernHorizons extends ExpansionSet {
cards.add(new SetCardInfo("Orcish Hellraiser", 136, Rarity.COMMON, mage.cards.o.OrcishHellraiser.class));
cards.add(new SetCardInfo("Ore-Scale Guardian", 137, Rarity.UNCOMMON, mage.cards.o.OreScaleGuardian.class));
cards.add(new SetCardInfo("Pashalik Mons", 138, Rarity.RARE, mage.cards.p.PashalikMons.class));
cards.add(new SetCardInfo("Phantom Ninja", 62, Rarity.COMMON, mage.cards.p.PhantomNinja.class));
cards.add(new SetCardInfo("Pillage", 139, Rarity.UNCOMMON, mage.cards.p.Pillage.class));
cards.add(new SetCardInfo("Plague Engineer", 100, Rarity.RARE, mage.cards.p.PlagueEngineer.class));
cards.add(new SetCardInfo("Planebound Accomplice", 140, Rarity.RARE, mage.cards.p.PlaneboundAccomplice.class));