From a8db27af68691364e7fff82109c21336bee9cbc9 Mon Sep 17 00:00:00 2001 From: theelk801 Date: Wed, 7 Jan 2026 09:11:55 -0500 Subject: [PATCH] [ECL] Implement Chaos Spewer --- Mage.Sets/src/mage/cards/c/ChaosSpewer.java | 42 +++++++++++++++++++++ Mage.Sets/src/mage/sets/LorwynEclipsed.java | 1 + 2 files changed, 43 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/c/ChaosSpewer.java diff --git a/Mage.Sets/src/mage/cards/c/ChaosSpewer.java b/Mage.Sets/src/mage/cards/c/ChaosSpewer.java new file mode 100644 index 00000000000..8629a211d1d --- /dev/null +++ b/Mage.Sets/src/mage/cards/c/ChaosSpewer.java @@ -0,0 +1,42 @@ +package mage.cards.c; + +import mage.MageInt; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.costs.mana.GenericManaCost; +import mage.abilities.effects.common.DoIfCostPaid; +import mage.abilities.effects.keyword.BlightControllerEffect; +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 ChaosSpewer extends CardImpl { + + public ChaosSpewer(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}"); + + this.subtype.add(SubType.GOBLIN); + this.subtype.add(SubType.WARLOCK); + this.power = new MageInt(5); + this.toughness = new MageInt(4); + + // When this creature enters, you may pay {2}. If you don't, blight 2. + this.addAbility(new EntersBattlefieldTriggeredAbility(new DoIfCostPaid( + null, new BlightControllerEffect(2), new GenericManaCost(2) + ))); + } + + private ChaosSpewer(final ChaosSpewer card) { + super(card); + } + + @Override + public ChaosSpewer copy() { + return new ChaosSpewer(this); + } +} diff --git a/Mage.Sets/src/mage/sets/LorwynEclipsed.java b/Mage.Sets/src/mage/sets/LorwynEclipsed.java index 198b96190de..47ca3979ac9 100644 --- a/Mage.Sets/src/mage/sets/LorwynEclipsed.java +++ b/Mage.Sets/src/mage/sets/LorwynEclipsed.java @@ -51,6 +51,7 @@ public final class LorwynEclipsed extends ExpansionSet { cards.add(new SetCardInfo("Champion of the Weird", 95, Rarity.RARE, mage.cards.c.ChampionOfTheWeird.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Champions of the Perfect", 171, Rarity.RARE, mage.cards.c.ChampionsOfThePerfect.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Champions of the Perfect", 365, Rarity.RARE, mage.cards.c.ChampionsOfThePerfect.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Chaos Spewer", 210, Rarity.COMMON, mage.cards.c.ChaosSpewer.class)); cards.add(new SetCardInfo("Chomping Changeling", 172, Rarity.UNCOMMON, mage.cards.c.ChompingChangeling.class)); cards.add(new SetCardInfo("Crib Swap", 11, Rarity.UNCOMMON, mage.cards.c.CribSwap.class)); cards.add(new SetCardInfo("Crossroads Watcher", 173, Rarity.COMMON, mage.cards.c.CrossroadsWatcher.class));