[NEO] Implemented Nezumi Prowler

This commit is contained in:
Evan Kranzler 2022-02-01 08:02:18 -05:00
parent cc49e5ad15
commit c373cb608f
2 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,53 @@
package mage.cards.n;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
import mage.abilities.keyword.DeathtouchAbility;
import mage.abilities.keyword.LifelinkAbility;
import mage.abilities.keyword.NinjutsuAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.target.common.TargetControlledCreaturePermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class NezumiProwler extends CardImpl {
public NezumiProwler(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{1}{B}");
this.subtype.add(SubType.RAT);
this.subtype.add(SubType.NINJA);
this.power = new MageInt(3);
this.toughness = new MageInt(1);
// Ninjutsu {1}{B}
this.addAbility(new NinjutsuAbility("{1}{B}"));
// When Nezumi Prowler enters the battlefield, target creature you control gains deathtouch and lifelink until end of turn.
Ability ability = new EntersBattlefieldTriggeredAbility(
new GainAbilityTargetEffect(DeathtouchAbility.getInstance())
.setText("target creature you control gains deathtouch")
);
ability.addEffect(new GainAbilityTargetEffect(LifelinkAbility.getInstance())
.setText("and lifelink until end of turn"));
ability.addTarget(new TargetControlledCreaturePermanent());
this.addAbility(ability);
}
private NezumiProwler(final NezumiProwler card) {
super(card);
}
@Override
public NezumiProwler copy() {
return new NezumiProwler(this);
}
}

View file

@ -77,6 +77,7 @@ public final class KamigawaNeonDynasty extends ExpansionSet {
cards.add(new SetCardInfo("Mountain", 289, Rarity.LAND, mage.cards.basiclands.Mountain.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Nameless Conqueror", 162, Rarity.COMMON, mage.cards.n.NamelessConqueror.class));
cards.add(new SetCardInfo("Naomi, Pillar of Order", 229, Rarity.UNCOMMON, mage.cards.n.NaomiPillarOfOrder.class));
cards.add(new SetCardInfo("Nezumi Prowler", 116, Rarity.UNCOMMON, mage.cards.n.NezumiProwler.class));
cards.add(new SetCardInfo("Plains", 283, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Portrait of Michiko", 29, Rarity.UNCOMMON, mage.cards.p.PortraitOfMichiko.class));
cards.add(new SetCardInfo("Raiyuu, Storm's Edge", 232, Rarity.RARE, mage.cards.r.RaiyuuStormsEdge.class));