[ECL] Implement Chaos Spewer

This commit is contained in:
theelk801 2026-01-07 09:11:55 -05:00
parent d7e27cc8f3
commit a8db27af68
2 changed files with 43 additions and 0 deletions

View file

@ -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);
}
}

View file

@ -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));