From c5bd744c00fb369af1d5429aa893f9778b7220f5 Mon Sep 17 00:00:00 2001 From: theelk801 Date: Wed, 3 Sep 2025 10:22:24 -0400 Subject: [PATCH] [SPM] Implement Pumpkin Bombardment --- .../src/mage/cards/p/PumpkinBombardment.java | 40 +++++++++++++++++++ Mage.Sets/src/mage/sets/MarvelsSpiderMan.java | 1 + 2 files changed, 41 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/p/PumpkinBombardment.java diff --git a/Mage.Sets/src/mage/cards/p/PumpkinBombardment.java b/Mage.Sets/src/mage/cards/p/PumpkinBombardment.java new file mode 100644 index 00000000000..273d286e56e --- /dev/null +++ b/Mage.Sets/src/mage/cards/p/PumpkinBombardment.java @@ -0,0 +1,40 @@ +package mage.cards.p; + +import mage.abilities.costs.OrCost; +import mage.abilities.costs.common.DiscardCardCost; +import mage.abilities.costs.mana.GenericManaCost; +import mage.abilities.effects.common.DamageTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.target.common.TargetCreaturePermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class PumpkinBombardment extends CardImpl { + + public PumpkinBombardment(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{B/R}"); + + // As an additional cost to cast this spell, discard a card or pay {2}. + this.getSpellAbility().addCost(new OrCost( + "discard a card or pay {2}", new DiscardCardCost(), new GenericManaCost(2) + )); + + // Pumpkin Bombardment deals 3 damage to target creature. + this.getSpellAbility().addEffect(new DamageTargetEffect(3)); + this.getSpellAbility().addTarget(new TargetCreaturePermanent()); + } + + private PumpkinBombardment(final PumpkinBombardment card) { + super(card); + } + + @Override + public PumpkinBombardment copy() { + return new PumpkinBombardment(this); + } +} diff --git a/Mage.Sets/src/mage/sets/MarvelsSpiderMan.java b/Mage.Sets/src/mage/sets/MarvelsSpiderMan.java index 34e0690ba86..a68e3b1331f 100644 --- a/Mage.Sets/src/mage/sets/MarvelsSpiderMan.java +++ b/Mage.Sets/src/mage/sets/MarvelsSpiderMan.java @@ -112,6 +112,7 @@ public final class MarvelsSpiderMan extends ExpansionSet { cards.add(new SetCardInfo("Plains", 194, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Prison Break", 61, Rarity.UNCOMMON, mage.cards.p.PrisonBreak.class)); cards.add(new SetCardInfo("Prowler, Clawed Thief", 138, Rarity.UNCOMMON, mage.cards.p.ProwlerClawedThief.class)); + cards.add(new SetCardInfo("Pumpkin Bombardment", 139, Rarity.COMMON, mage.cards.p.PumpkinBombardment.class)); cards.add(new SetCardInfo("Radioactive Spider", 111, Rarity.RARE, mage.cards.r.RadioactiveSpider.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Radioactive Spider", 212, Rarity.RARE, mage.cards.r.RadioactiveSpider.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Radioactive Spider", 285, Rarity.RARE, mage.cards.r.RadioactiveSpider.class, NON_FULL_USE_VARIOUS));