From 5f01e49cd4fc350846033d91d8e64d1e9d19b5f6 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Fri, 10 Jan 2020 18:04:27 -0500 Subject: [PATCH] Implemented Underworld Charger --- .../src/mage/cards/u/UnderworldCharger.java | 45 +++++++++++++++++++ .../src/mage/sets/TherosBeyondDeath.java | 1 + 2 files changed, 46 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/u/UnderworldCharger.java diff --git a/Mage.Sets/src/mage/cards/u/UnderworldCharger.java b/Mage.Sets/src/mage/cards/u/UnderworldCharger.java new file mode 100644 index 0000000000..dd34dda675 --- /dev/null +++ b/Mage.Sets/src/mage/cards/u/UnderworldCharger.java @@ -0,0 +1,45 @@ +package mage.cards.u; + +import mage.MageInt; +import mage.abilities.common.CantBlockAbility; +import mage.abilities.common.EscapesWithAbility; +import mage.abilities.keyword.EscapeAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class UnderworldCharger extends CardImpl { + + public UnderworldCharger(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{B}"); + + this.subtype.add(SubType.NIGHTMARE); + this.subtype.add(SubType.HORSE); + this.power = new MageInt(3); + this.toughness = new MageInt(3); + + // Underworld Charger can't block. + this.addAbility(new CantBlockAbility()); + + // Escape—{4}{B}, Exile three other cards from your graveyard. + this.addAbility(new EscapeAbility(this, "{4}{B}", 3)); + + // Underworld Charger escapes with two +1/+1 counters on it. + this.addAbility(new EscapesWithAbility(2)); + } + + private UnderworldCharger(final UnderworldCharger card) { + super(card); + } + + @Override + public UnderworldCharger copy() { + return new UnderworldCharger(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TherosBeyondDeath.java b/Mage.Sets/src/mage/sets/TherosBeyondDeath.java index 55c74e6ec3..8fbfe424fe 100644 --- a/Mage.Sets/src/mage/sets/TherosBeyondDeath.java +++ b/Mage.Sets/src/mage/sets/TherosBeyondDeath.java @@ -205,6 +205,7 @@ public final class TherosBeyondDeath extends ExpansionSet { cards.add(new SetCardInfo("Tymaret Calls the Dead", 118, Rarity.RARE, mage.cards.t.TymaretCallsTheDead.class)); cards.add(new SetCardInfo("Tymaret, Chosen from Death", 119, Rarity.UNCOMMON, mage.cards.t.TymaretChosenFromDeath.class)); cards.add(new SetCardInfo("Underworld Breach", 161, Rarity.RARE, mage.cards.u.UnderworldBreach.class)); + cards.add(new SetCardInfo("Underworld Charger", 120, Rarity.COMMON, mage.cards.u.UnderworldCharger.class)); cards.add(new SetCardInfo("Underworld Dreams", 121, Rarity.UNCOMMON, mage.cards.u.UnderworldDreams.class)); cards.add(new SetCardInfo("Underworld Rage-Hound", 163, Rarity.COMMON, mage.cards.u.UnderworldRageHound.class)); cards.add(new SetCardInfo("Underworld Sentinel", 293, Rarity.RARE, mage.cards.u.UnderworldSentinel.class));