From 069751773c92e1fd9f428246c0b88de2c3e05185 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Thu, 19 Sep 2019 19:44:27 -0400 Subject: [PATCH] Implemented Irencrag Pyromancer --- .../src/mage/cards/i/IrencragPyromancer.java | 42 +++++++++++++++++++ Mage.Sets/src/mage/sets/ThroneOfEldraine.java | 1 + 2 files changed, 43 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/i/IrencragPyromancer.java diff --git a/Mage.Sets/src/mage/cards/i/IrencragPyromancer.java b/Mage.Sets/src/mage/cards/i/IrencragPyromancer.java new file mode 100644 index 0000000000..15265ab317 --- /dev/null +++ b/Mage.Sets/src/mage/cards/i/IrencragPyromancer.java @@ -0,0 +1,42 @@ +package mage.cards.i; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.DrawSecondCardTriggeredAbility; +import mage.abilities.effects.common.DamageTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.target.common.TargetAnyTarget; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class IrencragPyromancer extends CardImpl { + + public IrencragPyromancer(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(0); + this.toughness = new MageInt(4); + + // Whenever you draw your second card each turn, Irencrag Pyromancer deals 3 damage to any target. + Ability ability = new DrawSecondCardTriggeredAbility(new DamageTargetEffect(3), false); + ability.addTarget(new TargetAnyTarget()); + this.addAbility(ability); + } + + private IrencragPyromancer(final IrencragPyromancer card) { + super(card); + } + + @Override + public IrencragPyromancer copy() { + return new IrencragPyromancer(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ThroneOfEldraine.java b/Mage.Sets/src/mage/sets/ThroneOfEldraine.java index ddace38543..cb1df86b43 100644 --- a/Mage.Sets/src/mage/sets/ThroneOfEldraine.java +++ b/Mage.Sets/src/mage/sets/ThroneOfEldraine.java @@ -130,6 +130,7 @@ public final class ThroneOfEldraine extends ExpansionSet { cards.add(new SetCardInfo("Inspiring Veteran", 194, Rarity.UNCOMMON, mage.cards.i.InspiringVeteran.class)); cards.add(new SetCardInfo("Into the Story", 50, Rarity.UNCOMMON, mage.cards.i.IntoTheStory.class)); cards.add(new SetCardInfo("Irencrag Feat", 127, Rarity.RARE, mage.cards.i.IrencragFeat.class)); + cards.add(new SetCardInfo("Irencrag Pyromancer", 128, Rarity.RARE, mage.cards.i.IrencragPyromancer.class)); cards.add(new SetCardInfo("Joust", 129, Rarity.UNCOMMON, mage.cards.j.Joust.class)); cards.add(new SetCardInfo("Jousting Dummy", 224, Rarity.COMMON, mage.cards.j.JoustingDummy.class)); cards.add(new SetCardInfo("Keeper of Fables", 163, Rarity.UNCOMMON, mage.cards.k.KeeperOfFables.class));