From 1c29a9319fcd43d9c964a4f80ef1498e34ad13a1 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Wed, 12 Sep 2018 11:39:45 -0400 Subject: [PATCH] Implemented Inescapable Flame --- .../src/mage/cards/i/InescapableFlame.java | 36 +++++++++++++++++++ Mage.Sets/src/mage/sets/GuildsOfRavnica.java | 1 + 2 files changed, 37 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/i/InescapableFlame.java diff --git a/Mage.Sets/src/mage/cards/i/InescapableFlame.java b/Mage.Sets/src/mage/cards/i/InescapableFlame.java new file mode 100644 index 0000000000..a5a7b6dd78 --- /dev/null +++ b/Mage.Sets/src/mage/cards/i/InescapableFlame.java @@ -0,0 +1,36 @@ +package mage.cards.i; + +import java.util.UUID; +import mage.abilities.common.CantBeCounteredAbility; +import mage.abilities.effects.common.DamageTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.target.common.TargetAnyTarget; + +/** + * + * @author TheElk801 + */ +public final class InescapableFlame extends CardImpl { + + public InescapableFlame(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{4}{R}{R}"); + + // This spell can't be countered. + this.addAbility(new CantBeCounteredAbility()); + + // Inescapable Flame deals 6 damage to any target. + this.getSpellAbility().addEffect(new DamageTargetEffect(6)); + this.getSpellAbility().addTarget(new TargetAnyTarget()); + } + + public InescapableFlame(final InescapableFlame card) { + super(card); + } + + @Override + public InescapableFlame copy() { + return new InescapableFlame(this); + } +} diff --git a/Mage.Sets/src/mage/sets/GuildsOfRavnica.java b/Mage.Sets/src/mage/sets/GuildsOfRavnica.java index 8c479669a7..f31cd1401a 100644 --- a/Mage.Sets/src/mage/sets/GuildsOfRavnica.java +++ b/Mage.Sets/src/mage/sets/GuildsOfRavnica.java @@ -66,6 +66,7 @@ public final class GuildsOfRavnica extends ExpansionSet { cards.add(new SetCardInfo("Healer's Hawk", 14, Rarity.COMMON, mage.cards.h.HealersHawk.class)); cards.add(new SetCardInfo("Hypothesizzle", 178, Rarity.COMMON, mage.cards.h.Hypothesizzle.class)); cards.add(new SetCardInfo("Impervious Greatwurm", 273, Rarity.MYTHIC, mage.cards.i.ImperviousGreatwurm.class)); + cards.add(new SetCardInfo("Inescapable Flame", 107, Rarity.UNCOMMON, mage.cards.i.InescapableFlame.class)); cards.add(new SetCardInfo("Ionize", 179, Rarity.RARE, mage.cards.i.Ionize.class)); cards.add(new SetCardInfo("Island", 261, Rarity.LAND, mage.cards.basiclands.Island.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Izoni, Thousand-Eyed", 180, Rarity.RARE, mage.cards.i.IzoniThousandEyed.class));