Implemented Ninja of the New Moon

This commit is contained in:
Evan Kranzler 2019-05-30 21:22:20 -04:00
parent f170a888e7
commit cc7bdd9e1c
3 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
package mage.cards.n;
import mage.MageInt;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.keyword.NinjutsuAbility;
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 NinjaOfTheNewMoon extends CardImpl {
public NinjaOfTheNewMoon(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{B}{B}");
this.subtype.add(SubType.SPIRIT);
this.subtype.add(SubType.NINJA);
this.power = new MageInt(6);
this.toughness = new MageInt(3);
// Ninjutsu {3}{B}
this.addAbility(new NinjutsuAbility(new ManaCostsImpl("{3}{B}")));
}
private NinjaOfTheNewMoon(final NinjaOfTheNewMoon card) {
super(card);
}
@Override
public NinjaOfTheNewMoon copy() {
return new NinjaOfTheNewMoon(this);
}
}

View file

@ -128,6 +128,7 @@ public final class ModernHorizons extends ExpansionSet {
cards.add(new SetCardInfo("Nature's Chant", 210, Rarity.COMMON, mage.cards.n.NaturesChant.class)); cards.add(new SetCardInfo("Nature's Chant", 210, Rarity.COMMON, mage.cards.n.NaturesChant.class));
cards.add(new SetCardInfo("Nether Spirit", 98, Rarity.RARE, mage.cards.n.NetherSpirit.class)); cards.add(new SetCardInfo("Nether Spirit", 98, Rarity.RARE, mage.cards.n.NetherSpirit.class));
cards.add(new SetCardInfo("Nimble Mongoose", 174, Rarity.COMMON, mage.cards.n.NimbleMongoose.class)); cards.add(new SetCardInfo("Nimble Mongoose", 174, Rarity.COMMON, mage.cards.n.NimbleMongoose.class));
cards.add(new SetCardInfo("Ninja of the New Moon", 99, Rarity.COMMON, mage.cards.n.NinjaOfTheNewMoon.class));
cards.add(new SetCardInfo("Nurturing Peatland", 243, Rarity.RARE, mage.cards.n.NurturingPeatland.class)); cards.add(new SetCardInfo("Nurturing Peatland", 243, Rarity.RARE, mage.cards.n.NurturingPeatland.class));
cards.add(new SetCardInfo("On Thin Ice", 20, Rarity.RARE, mage.cards.o.OnThinIce.class)); cards.add(new SetCardInfo("On Thin Ice", 20, Rarity.RARE, mage.cards.o.OnThinIce.class));
cards.add(new SetCardInfo("Orcish Hellraiser", 136, Rarity.COMMON, mage.cards.o.OrcishHellraiser.class)); cards.add(new SetCardInfo("Orcish Hellraiser", 136, Rarity.COMMON, mage.cards.o.OrcishHellraiser.class));

View file

@ -65,6 +65,7 @@ Mountaincycling|cost|
Mountainwalk|new| Mountainwalk|new|
Morph|card, cost| Morph|card, cost|
Myriad|new| Myriad|new|
Ninjutsu|cost|
Outlast|cost| Outlast|cost|
Persist|new| Persist|new|
Phasing|instance| Phasing|instance|