From 95940aa5953961e33a333e069e66fcf6e82cefc0 Mon Sep 17 00:00:00 2001 From: theelk801 Date: Thu, 8 Jan 2026 13:38:17 -0500 Subject: [PATCH] [ECL] Implement Blighted Blackthorn --- .../src/mage/cards/b/BlightedBlackthorn.java | 43 +++++++++++++++++++ Mage.Sets/src/mage/sets/LorwynEclipsed.java | 1 + 2 files changed, 44 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/b/BlightedBlackthorn.java diff --git a/Mage.Sets/src/mage/cards/b/BlightedBlackthorn.java b/Mage.Sets/src/mage/cards/b/BlightedBlackthorn.java new file mode 100644 index 00000000000..c957a51c085 --- /dev/null +++ b/Mage.Sets/src/mage/cards/b/BlightedBlackthorn.java @@ -0,0 +1,43 @@ +package mage.cards.b; + +import mage.MageInt; +import mage.abilities.common.EntersBattlefieldOrAttacksSourceTriggeredAbility; +import mage.abilities.costs.common.BlightCost; +import mage.abilities.effects.common.DoIfCostPaid; +import mage.abilities.effects.common.DrawCardSourceControllerEffect; +import mage.abilities.effects.common.LoseLifeSourceControllerEffect; +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 BlightedBlackthorn extends CardImpl { + + public BlightedBlackthorn(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{B}"); + + this.subtype.add(SubType.TREEFOLK); + this.subtype.add(SubType.WARLOCK); + this.power = new MageInt(3); + this.toughness = new MageInt(7); + + // Whenever this creature enters or attacks, you may blight 2. If you do, you draw a card and lose 1 life. + this.addAbility(new EntersBattlefieldOrAttacksSourceTriggeredAbility(new DoIfCostPaid( + new DrawCardSourceControllerEffect(1, true), new BlightCost(2) + ).addEffect(new LoseLifeSourceControllerEffect(1).setText("and lose 1 life")))); + } + + private BlightedBlackthorn(final BlightedBlackthorn card) { + super(card); + } + + @Override + public BlightedBlackthorn copy() { + return new BlightedBlackthorn(this); + } +} diff --git a/Mage.Sets/src/mage/sets/LorwynEclipsed.java b/Mage.Sets/src/mage/sets/LorwynEclipsed.java index 152f8c347a5..b67aa0ca8b5 100644 --- a/Mage.Sets/src/mage/sets/LorwynEclipsed.java +++ b/Mage.Sets/src/mage/sets/LorwynEclipsed.java @@ -34,6 +34,7 @@ public final class LorwynEclipsed extends ExpansionSet { cards.add(new SetCardInfo("Bitterbloom Bearer", 310, Rarity.MYTHIC, mage.cards.b.BitterbloomBearer.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Bitterbloom Bearer", 352, Rarity.MYTHIC, mage.cards.b.BitterbloomBearer.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Bitterbloom Bearer", 88, Rarity.MYTHIC, mage.cards.b.BitterbloomBearer.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Blighted Blackthorn", 90, Rarity.COMMON, mage.cards.b.BlightedBlackthorn.class)); cards.add(new SetCardInfo("Blood Crypt", "349b", Rarity.RARE, mage.cards.b.BloodCrypt.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Blood Crypt", 262, Rarity.RARE, mage.cards.b.BloodCrypt.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Blood Crypt", 349, Rarity.RARE, mage.cards.b.BloodCrypt.class, NON_FULL_USE_VARIOUS));