From 01acb8477639a4ad5a3bd0a9e88c8184c51117ae Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Thu, 5 Aug 2021 21:33:50 -0400 Subject: [PATCH] [MID] Implemented Infernal Grasp --- Mage.Sets/src/mage/cards/i/InfernalGrasp.java | 34 +++++++++++++++++++ .../src/mage/sets/InnistradMidnightHunt.java | 1 + 2 files changed, 35 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/i/InfernalGrasp.java diff --git a/Mage.Sets/src/mage/cards/i/InfernalGrasp.java b/Mage.Sets/src/mage/cards/i/InfernalGrasp.java new file mode 100644 index 0000000000..f00d57c25b --- /dev/null +++ b/Mage.Sets/src/mage/cards/i/InfernalGrasp.java @@ -0,0 +1,34 @@ +package mage.cards.i; + +import mage.abilities.effects.common.DestroyTargetEffect; +import mage.abilities.effects.common.LoseLifeSourceControllerEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.target.common.TargetCreaturePermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class InfernalGrasp extends CardImpl { + + public InfernalGrasp(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{B}"); + + // Destroy target creature. You lose 2 life. + this.getSpellAbility().addEffect(new DestroyTargetEffect()); + this.getSpellAbility().addTarget(new TargetCreaturePermanent()); + this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(2)); + } + + private InfernalGrasp(final InfernalGrasp card) { + super(card); + } + + @Override + public InfernalGrasp copy() { + return new InfernalGrasp(this); + } +} diff --git a/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java b/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java index 60cfd9cbe3..91657bc341 100644 --- a/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java +++ b/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java @@ -29,6 +29,7 @@ public final class InnistradMidnightHunt extends ExpansionSet { cards.add(new SetCardInfo("Consider", 44, Rarity.COMMON, mage.cards.c.Consider.class)); cards.add(new SetCardInfo("Forest", 276, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS)); + cards.add(new SetCardInfo("Infernal Grasp", 107, Rarity.UNCOMMON, mage.cards.i.InfernalGrasp.class)); cards.add(new SetCardInfo("Island", 270, Rarity.LAND, mage.cards.basiclands.Island.class, FULL_ART_BFZ_VARIOUS)); cards.add(new SetCardInfo("Join the Dance", 229, Rarity.UNCOMMON, mage.cards.j.JoinTheDance.class)); cards.add(new SetCardInfo("Mountain", 274, Rarity.LAND, mage.cards.basiclands.Mountain.class, FULL_ART_BFZ_VARIOUS));