[SPM] Implement Ultimate Green Goblin

This commit is contained in:
theelk801 2025-08-29 22:25:43 -04:00
parent 0ee188226f
commit 7b3102af5d
2 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,49 @@
package mage.cards.u;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.effects.common.discard.DiscardControllerEffect;
import mage.abilities.keyword.MayhemAbility;
import mage.abilities.triggers.BeginningOfUpkeepTriggeredAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.SuperType;
import mage.game.permanent.token.TreasureToken;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class UltimateGreenGoblin extends CardImpl {
public UltimateGreenGoblin(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{B/R}{B/R}");
this.supertype.add(SuperType.LEGENDARY);
this.subtype.add(SubType.GOBLIN);
this.subtype.add(SubType.VILLAIN);
this.power = new MageInt(5);
this.toughness = new MageInt(4);
// At the beginning of your upkeep, discard a card, then create a Treasure token.
Ability ability = new BeginningOfUpkeepTriggeredAbility(new DiscardControllerEffect(1));
ability.addEffect(new CreateTokenEffect(new TreasureToken()).concatBy(", then"));
this.addAbility(ability);
// Mayhem {2}{B/R}
this.addAbility(new MayhemAbility(this, "{2}{B/R}"));
}
private UltimateGreenGoblin(final UltimateGreenGoblin card) {
super(card);
}
@Override
public UltimateGreenGoblin copy() {
return new UltimateGreenGoblin(this);
}
}

View file

@ -106,6 +106,7 @@ public final class MarvelsSpiderMan extends ExpansionSet {
cards.add(new SetCardInfo("Taxi Driver", 97, Rarity.COMMON, mage.cards.t.TaxiDriver.class));
cards.add(new SetCardInfo("Thwip!", 20, Rarity.COMMON, mage.cards.t.Thwip.class));
cards.add(new SetCardInfo("Tombstone, Career Criminal", 70, Rarity.UNCOMMON, mage.cards.t.TombstoneCareerCriminal.class));
cards.add(new SetCardInfo("Ultimate Green Goblin", 157, Rarity.RARE, mage.cards.u.UltimateGreenGoblin.class));
cards.add(new SetCardInfo("Unstable Experiment", 47, Rarity.COMMON, mage.cards.u.UnstableExperiment.class));
cards.add(new SetCardInfo("Venom's Hunger", 73, Rarity.COMMON, mage.cards.v.VenomsHunger.class));
cards.add(new SetCardInfo("Venom, Evil Unleashed", 71, Rarity.COMMON, mage.cards.v.VenomEvilUnleashed.class));