From 4db7db2bd9c67f2e5d85efc36410b598a999fb0d Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sat, 3 Apr 2021 17:18:05 -0400 Subject: [PATCH] [STX] Implemented Crushing Disappointment --- .../mage/cards/c/CrushingDisappointment.java | 32 +++++++++++++++++++ .../mage/sets/StrixhavenSchoolOfMages.java | 1 + 2 files changed, 33 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/c/CrushingDisappointment.java diff --git a/Mage.Sets/src/mage/cards/c/CrushingDisappointment.java b/Mage.Sets/src/mage/cards/c/CrushingDisappointment.java new file mode 100644 index 0000000000..b217ea0d8d --- /dev/null +++ b/Mage.Sets/src/mage/cards/c/CrushingDisappointment.java @@ -0,0 +1,32 @@ +package mage.cards.c; + +import mage.abilities.effects.common.DrawCardSourceControllerEffect; +import mage.abilities.effects.common.LoseLifeAllPlayersEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class CrushingDisappointment extends CardImpl { + + public CrushingDisappointment(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{B}"); + + // Each player loses 2 life. You draw two cards. + this.getSpellAbility().addEffect(new LoseLifeAllPlayersEffect(2)); + this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(2).concatBy("You")); + } + + private CrushingDisappointment(final CrushingDisappointment card) { + super(card); + } + + @Override + public CrushingDisappointment copy() { + return new CrushingDisappointment(this); + } +} diff --git a/Mage.Sets/src/mage/sets/StrixhavenSchoolOfMages.java b/Mage.Sets/src/mage/sets/StrixhavenSchoolOfMages.java index 9ad75534a7..854f00bf23 100644 --- a/Mage.Sets/src/mage/sets/StrixhavenSchoolOfMages.java +++ b/Mage.Sets/src/mage/sets/StrixhavenSchoolOfMages.java @@ -58,6 +58,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet { cards.add(new SetCardInfo("Crackle with Power", 95, Rarity.MYTHIC, mage.cards.c.CrackleWithPower.class)); cards.add(new SetCardInfo("Cram Session", 170, Rarity.COMMON, mage.cards.c.CramSession.class)); cards.add(new SetCardInfo("Creative Outburst", 171, Rarity.UNCOMMON, mage.cards.c.CreativeOutburst.class)); + cards.add(new SetCardInfo("Crushing Disappointment", 68, Rarity.COMMON, mage.cards.c.CrushingDisappointment.class)); cards.add(new SetCardInfo("Culmination of Studies", 173, Rarity.RARE, mage.cards.c.CulminationOfStudies.class)); cards.add(new SetCardInfo("Curate", 40, Rarity.COMMON, mage.cards.c.Curate.class)); cards.add(new SetCardInfo("Daemogoth Titan", 174, Rarity.RARE, mage.cards.d.DaemogothTitan.class));