From d14554eea3a2c910a7fac76a3f7c4359c9d192a2 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Thu, 3 Feb 2022 08:36:07 -0500 Subject: [PATCH] [NEO] Implemented Eiganjo Exemplar --- .../src/mage/cards/e/EiganjoExemplar.java | 42 +++++++++++++++++++ .../src/mage/sets/KamigawaNeonDynasty.java | 1 + 2 files changed, 43 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/e/EiganjoExemplar.java diff --git a/Mage.Sets/src/mage/cards/e/EiganjoExemplar.java b/Mage.Sets/src/mage/cards/e/EiganjoExemplar.java new file mode 100644 index 0000000000..0095559189 --- /dev/null +++ b/Mage.Sets/src/mage/cards/e/EiganjoExemplar.java @@ -0,0 +1,42 @@ +package mage.cards.e; + +import mage.MageInt; +import mage.abilities.common.AttacksAloneControlledTriggeredAbility; +import mage.abilities.effects.common.continuous.BoostTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.filter.StaticFilters; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class EiganjoExemplar extends CardImpl { + + public EiganjoExemplar(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT, CardType.CREATURE}, "{1}{W}"); + + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.SAMURAI); + this.power = new MageInt(2); + this.toughness = new MageInt(1); + + // Whenever a Samurai or Warrior you control attacks alone, it gets +1/+1 until end of turn. + this.addAbility(new AttacksAloneControlledTriggeredAbility( + new BoostTargetEffect(1, 1).setText("it gets +1/+1 until end of turn"), + StaticFilters.FILTER_CONTROLLED_SAMURAI_OR_WARRIOR, true, false + )); + } + + private EiganjoExemplar(final EiganjoExemplar card) { + super(card); + } + + @Override + public EiganjoExemplar copy() { + return new EiganjoExemplar(this); + } +} diff --git a/Mage.Sets/src/mage/sets/KamigawaNeonDynasty.java b/Mage.Sets/src/mage/sets/KamigawaNeonDynasty.java index 5968bdd522..f6188826fb 100644 --- a/Mage.Sets/src/mage/sets/KamigawaNeonDynasty.java +++ b/Mage.Sets/src/mage/sets/KamigawaNeonDynasty.java @@ -51,6 +51,7 @@ public final class KamigawaNeonDynasty extends ExpansionSet { cards.add(new SetCardInfo("Coiling Stalker", 179, Rarity.COMMON, mage.cards.c.CoilingStalker.class)); cards.add(new SetCardInfo("Covert Technician", 49, Rarity.UNCOMMON, mage.cards.c.CovertTechnician.class)); cards.add(new SetCardInfo("Dokuchi Shadow-Walker", 94, Rarity.COMMON, mage.cards.d.DokuchiShadowWalker.class)); + cards.add(new SetCardInfo("Eiganjo Exemplar", 10, Rarity.COMMON, mage.cards.e.EiganjoExemplar.class)); cards.add(new SetCardInfo("Eiganjo Uprising", 217, Rarity.RARE, mage.cards.e.EiganjoUprising.class)); cards.add(new SetCardInfo("Enormous Energy Blade", 96, Rarity.UNCOMMON, mage.cards.e.EnormousEnergyBlade.class)); cards.add(new SetCardInfo("Enthusiastic Mechanaut", 218, Rarity.UNCOMMON, mage.cards.e.EnthusiasticMechanaut.class));