From 77974ed99bffe334aae14a12abc0e241d2cae99e Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Wed, 2 Sep 2020 16:06:25 -0400 Subject: [PATCH] [ZNR] Implemented Ardent Electromancer --- .../src/mage/cards/a/ArdentElectromancer.java | 44 +++++++++++++++++++ Mage.Sets/src/mage/sets/ZendikarRising.java | 1 + 2 files changed, 45 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/a/ArdentElectromancer.java diff --git a/Mage.Sets/src/mage/cards/a/ArdentElectromancer.java b/Mage.Sets/src/mage/cards/a/ArdentElectromancer.java new file mode 100644 index 0000000000..03284442fd --- /dev/null +++ b/Mage.Sets/src/mage/cards/a/ArdentElectromancer.java @@ -0,0 +1,44 @@ +package mage.cards.a; + +import java.util.UUID; + +import mage.MageInt; +import mage.Mana; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.dynamicvalue.common.PartyCount; +import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount; +import mage.abilities.effects.mana.DynamicManaEffect; +import mage.abilities.hint.common.PartyCountHint; +import mage.constants.SubType; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; + +/** + * @author TheElk801 + */ +public final class ArdentElectromancer extends CardImpl { + + public ArdentElectromancer(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}"); + + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.WIZARD); + this.power = new MageInt(3); + this.toughness = new MageInt(2); + + // When Ardent Electromancer enters the battlefield, add {R} for each creature in your party. + this.addAbility(new EntersBattlefieldTriggeredAbility( + new DynamicManaEffect(Mana.RedMana(1), PartyCount.instance) + ).addHint(PartyCountHint.instance)); + } + + private ArdentElectromancer(final ArdentElectromancer card) { + super(card); + } + + @Override + public ArdentElectromancer copy() { + return new ArdentElectromancer(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ZendikarRising.java b/Mage.Sets/src/mage/sets/ZendikarRising.java index d58ebfe77f..6ee8594880 100644 --- a/Mage.Sets/src/mage/sets/ZendikarRising.java +++ b/Mage.Sets/src/mage/sets/ZendikarRising.java @@ -73,6 +73,7 @@ public final class ZendikarRising extends ExpansionSet { cards.add(new SetCardInfo("Acquisitions Expert", 89, Rarity.UNCOMMON, mage.cards.a.AcquisitionsExpert.class)); cards.add(new SetCardInfo("Archpriest of Iona", 5, Rarity.RARE, mage.cards.a.ArchpriestOfIona.class)); + cards.add(new SetCardInfo("Ardent Electromancer", 135, Rarity.COMMON, mage.cards.a.ArdentElectromancer.class)); cards.add(new SetCardInfo("Bloodchief's Thirst", 94, Rarity.UNCOMMON, mage.cards.b.BloodchiefsThirst.class)); cards.add(new SetCardInfo("Boulderloft Pathway", 258, Rarity.RARE, mage.cards.b.BoulderloftPathway.class)); cards.add(new SetCardInfo("Branchloft Pathway", 258, Rarity.RARE, mage.cards.b.BranchloftPathway.class));