From d37ee2edc4a2b50c3c3c14ab34d63778cc853c19 Mon Sep 17 00:00:00 2001 From: jmlundeen Date: Wed, 3 Sep 2025 22:11:12 -0500 Subject: [PATCH] [SPM] implement Amazing Acrobatics --- .../src/mage/cards/a/AmazingAcrobatics.java | 47 +++++++++++++++++++ Mage.Sets/src/mage/sets/MarvelsSpiderMan.java | 1 + 2 files changed, 48 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/a/AmazingAcrobatics.java diff --git a/Mage.Sets/src/mage/cards/a/AmazingAcrobatics.java b/Mage.Sets/src/mage/cards/a/AmazingAcrobatics.java new file mode 100644 index 00000000000..b843c829900 --- /dev/null +++ b/Mage.Sets/src/mage/cards/a/AmazingAcrobatics.java @@ -0,0 +1,47 @@ +package mage.cards.a; + +import mage.abilities.Mode; +import mage.abilities.effects.common.CounterTargetEffect; +import mage.abilities.effects.common.TapTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.filter.StaticFilters; +import mage.target.TargetPermanent; +import mage.target.TargetSpell; + +import java.util.UUID; + +/** + * + * @author Jmlundeen + */ +public final class AmazingAcrobatics extends CardImpl { + + public AmazingAcrobatics(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{U}{U}"); + + + // Choose one or both -- + this.getSpellAbility().getModes().setMinModes(1); + this.getSpellAbility().getModes().setMaxModes(2); + + // * Counter target spell. + this.getSpellAbility().addEffect(new CounterTargetEffect()); + this.getSpellAbility().addTarget(new TargetSpell()); + + // * Tap one or two target creatures. + Mode mode = new Mode(new TapTargetEffect()); + mode.addTarget(new TargetPermanent(1, 2, StaticFilters.FILTER_PERMANENT_CREATURES)); + this.getSpellAbility().getModes().addMode(mode); + } + + private AmazingAcrobatics(final AmazingAcrobatics card) { + super(card); + } + + @Override + public AmazingAcrobatics copy() { + return new AmazingAcrobatics(this); + } +} diff --git a/Mage.Sets/src/mage/sets/MarvelsSpiderMan.java b/Mage.Sets/src/mage/sets/MarvelsSpiderMan.java index e975d6694cd..cb8ea3b4e3e 100644 --- a/Mage.Sets/src/mage/sets/MarvelsSpiderMan.java +++ b/Mage.Sets/src/mage/sets/MarvelsSpiderMan.java @@ -26,6 +26,7 @@ public final class MarvelsSpiderMan extends ExpansionSet { cards.add(new SetCardInfo("Agent Venom", 255, Rarity.RARE, mage.cards.a.AgentVenom.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Agent Venom", 49, Rarity.RARE, mage.cards.a.AgentVenom.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Amazing Acrobatics", 25, Rarity.COMMON, mage.cards.a.AmazingAcrobatics.class)); cards.add(new SetCardInfo("Angry Rabble", 75, Rarity.COMMON, mage.cards.a.AngryRabble.class)); cards.add(new SetCardInfo("Anti-Venom, Horrifying Healer", 1, Rarity.MYTHIC, mage.cards.a.AntiVenomHorrifyingHealer.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Anti-Venom, Horrifying Healer", 244, Rarity.MYTHIC, mage.cards.a.AntiVenomHorrifyingHealer.class, NON_FULL_USE_VARIOUS));