From 5b7700274af1630e6203023e24d02cf07a237255 Mon Sep 17 00:00:00 2001 From: Daniel Bomar Date: Fri, 4 Nov 2022 15:52:05 -0500 Subject: [PATCH] [BRO] Implemented Unleash Shell --- Mage.Sets/src/mage/cards/u/UnleashShell.java | 35 ++++++++++++++++++++ Mage.Sets/src/mage/sets/TheBrothersWar.java | 1 + 2 files changed, 36 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/u/UnleashShell.java diff --git a/Mage.Sets/src/mage/cards/u/UnleashShell.java b/Mage.Sets/src/mage/cards/u/UnleashShell.java new file mode 100644 index 0000000000..a52d7e657d --- /dev/null +++ b/Mage.Sets/src/mage/cards/u/UnleashShell.java @@ -0,0 +1,35 @@ +package mage.cards.u; + +import java.util.UUID; + +import mage.abilities.effects.common.DamageTargetControllerEffect; +import mage.abilities.effects.common.DamageTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.target.common.TargetCreatureOrPlaneswalker; + +/** + * + * @author weirddan455 + */ +public final class UnleashShell extends CardImpl { + + public UnleashShell(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{R}{R}"); + + // Unleash Shell deals 5 damage to target creature or planeswalker and 2 damage to that permanent's controller. + this.getSpellAbility().addEffect(new DamageTargetEffect(5)); + this.getSpellAbility().addEffect(new DamageTargetControllerEffect(2).setText("and 2 damage to that permanent's controller")); + this.getSpellAbility().addTarget(new TargetCreatureOrPlaneswalker()); + } + + private UnleashShell(final UnleashShell card) { + super(card); + } + + @Override + public UnleashShell copy() { + return new UnleashShell(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TheBrothersWar.java b/Mage.Sets/src/mage/sets/TheBrothersWar.java index 4799f23d30..67e20f6100 100644 --- a/Mage.Sets/src/mage/sets/TheBrothersWar.java +++ b/Mage.Sets/src/mage/sets/TheBrothersWar.java @@ -185,6 +185,7 @@ public final class TheBrothersWar extends ExpansionSet { cards.add(new SetCardInfo("Tyrant of Kher Ridges", 154, Rarity.RARE, mage.cards.t.TyrantOfKherRidges.class)); cards.add(new SetCardInfo("Underground River", 267, Rarity.RARE, mage.cards.u.UndergroundRiver.class)); cards.add(new SetCardInfo("Union of the Third Path", 31, Rarity.COMMON, mage.cards.u.UnionOfTheThirdPath.class)); + cards.add(new SetCardInfo("Unleash Shell", 155, Rarity.COMMON, mage.cards.u.UnleashShell.class)); cards.add(new SetCardInfo("Urza's Command", 70, Rarity.RARE, mage.cards.u.UrzasCommand.class)); cards.add(new SetCardInfo("Urza's Rebuff", 71, Rarity.COMMON, mage.cards.u.UrzasRebuff.class)); cards.add(new SetCardInfo("Urza's Sylex", 40, Rarity.MYTHIC, mage.cards.u.UrzasSylex.class));