From 05f4f2b5a82b58015e2c2671f5219c49dcc1ef3b Mon Sep 17 00:00:00 2001 From: theelk801 Date: Fri, 16 Jan 2026 13:28:41 -0500 Subject: [PATCH] [ECL] Implement Champions of the Shoal --- .../src/mage/cards/c/ChampionsOfTheShoal.java | 64 +++++++++++++++++++ Mage.Sets/src/mage/sets/LorwynEclipsed.java | 2 + 2 files changed, 66 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/c/ChampionsOfTheShoal.java diff --git a/Mage.Sets/src/mage/cards/c/ChampionsOfTheShoal.java b/Mage.Sets/src/mage/cards/c/ChampionsOfTheShoal.java new file mode 100644 index 00000000000..ba183ebf826 --- /dev/null +++ b/Mage.Sets/src/mage/cards/c/ChampionsOfTheShoal.java @@ -0,0 +1,64 @@ +package mage.cards.c; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.BecomesTappedTriggeredAbility; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.common.LeavesBattlefieldTriggeredAbility; +import mage.abilities.costs.common.BeholdAndExileCost; +import mage.abilities.effects.common.ReturnExiledCardToHandEffect; +import mage.abilities.effects.common.TapTargetEffect; +import mage.abilities.effects.common.counter.AddCountersTargetEffect; +import mage.abilities.meta.OrTriggeredAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.BeholdType; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.constants.Zone; +import mage.counters.CounterType; +import mage.target.common.TargetCreaturePermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class ChampionsOfTheShoal extends CardImpl { + + public ChampionsOfTheShoal(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{U}"); + + this.subtype.add(SubType.MERFOLK); + this.subtype.add(SubType.SOLDIER); + this.power = new MageInt(4); + this.toughness = new MageInt(6); + + // As an additional cost to cast this spell, behold a Merfolk and exile it. + this.getSpellAbility().addCost(new BeholdAndExileCost(BeholdType.MERFOLK)); + + // Whenever this creature enters or becomes tapped, tap up to one target creature and put a stun counter on it. + Ability ability = new OrTriggeredAbility( + Zone.BATTLEFIELD, new TapTargetEffect(), false, + "Whenever this creature enters or becomes tapped, ", + new EntersBattlefieldTriggeredAbility(null), + new BecomesTappedTriggeredAbility(null, false) + ); + ability.addEffect(new AddCountersTargetEffect(CounterType.STUN.createInstance()) + .setText("and put a stun counter on it")); + ability.addTarget(new TargetCreaturePermanent(0, 1)); + this.addAbility(ability); + + // When this creature leaves the battlefield, return the exiled card to its owner's hand. + this.addAbility(new LeavesBattlefieldTriggeredAbility(new ReturnExiledCardToHandEffect())); + } + + private ChampionsOfTheShoal(final ChampionsOfTheShoal card) { + super(card); + } + + @Override + public ChampionsOfTheShoal copy() { + return new ChampionsOfTheShoal(this); + } +} diff --git a/Mage.Sets/src/mage/sets/LorwynEclipsed.java b/Mage.Sets/src/mage/sets/LorwynEclipsed.java index 13134e44f0b..f4639bc3968 100644 --- a/Mage.Sets/src/mage/sets/LorwynEclipsed.java +++ b/Mage.Sets/src/mage/sets/LorwynEclipsed.java @@ -89,6 +89,8 @@ 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("Champions of the Shoal", 356, Rarity.RARE, mage.cards.c.ChampionsOfTheShoal.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Champions of the Shoal", 46, Rarity.RARE, mage.cards.c.ChampionsOfTheShoal.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Changeling Wayfinder", 1, Rarity.COMMON, mage.cards.c.ChangelingWayfinder.class)); cards.add(new SetCardInfo("Chaos Spewer", 210, Rarity.COMMON, mage.cards.c.ChaosSpewer.class)); cards.add(new SetCardInfo("Chitinous Graspling", 211, Rarity.COMMON, mage.cards.c.ChitinousGraspling.class));