From c0f521892b53fb81b5e3f680c15b0510cb60fde8 Mon Sep 17 00:00:00 2001 From: theelk801 Date: Thu, 8 Jan 2026 14:04:52 -0500 Subject: [PATCH] [ECL] Implement Brigid's Command --- .../src/mage/cards/b/BrigidsCommand.java | 64 +++++++++++++++++++ Mage.Sets/src/mage/sets/LorwynEclipsed.java | 2 + 2 files changed, 66 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/b/BrigidsCommand.java diff --git a/Mage.Sets/src/mage/cards/b/BrigidsCommand.java b/Mage.Sets/src/mage/cards/b/BrigidsCommand.java new file mode 100644 index 00000000000..1a27733899d --- /dev/null +++ b/Mage.Sets/src/mage/cards/b/BrigidsCommand.java @@ -0,0 +1,64 @@ +package mage.cards.b; + +import mage.abilities.Mode; +import mage.abilities.effects.common.CreateTokenCopyTargetEffect; +import mage.abilities.effects.common.CreateTokenTargetEffect; +import mage.abilities.effects.common.FightTargetsEffect; +import mage.abilities.effects.common.continuous.BoostTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.filter.FilterPermanent; +import mage.filter.common.FilterControlledPermanent; +import mage.game.permanent.token.KithkinGreenWhiteToken; +import mage.target.TargetPermanent; +import mage.target.TargetPlayer; +import mage.target.common.TargetControlledCreaturePermanent; +import mage.target.common.TargetOpponentsCreaturePermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class BrigidsCommand extends CardImpl { + + private static final FilterPermanent filter = new FilterControlledPermanent(SubType.KITHKIN); + + public BrigidsCommand(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.KINDRED, CardType.SORCERY}, "{1}{G}{W}"); + + this.subtype.add(SubType.KITHKIN); + + // Choose two -- + this.getSpellAbility().getModes().setMinModes(2); + this.getSpellAbility().getModes().setMaxModes(2); + + // * Create a token that's a copy of target Kithkin you control. + this.getSpellAbility().addEffect(new CreateTokenCopyTargetEffect()); + this.getSpellAbility().addTarget(new TargetPermanent(filter).withChooseHint("to copy")); + + // * Target player creates a 1/1 green and white Kithkin creature token. + this.getSpellAbility().addMode(new Mode(new CreateTokenTargetEffect(new KithkinGreenWhiteToken())) + .addTarget(new TargetPlayer().withChooseHint("to create a token"))); + + // * Target creature you control gets +3/+3 until end of turn. + this.getSpellAbility().addMode(new Mode(new BoostTargetEffect(3, 3)) + .addTarget(new TargetControlledCreaturePermanent().withChooseHint("+3/+3"))); + + // * Target creature you control fights target creature an opponent controls. + this.getSpellAbility().addMode(new Mode(new FightTargetsEffect()) + .addTarget(new TargetControlledCreaturePermanent().withChooseHint("to fight")) + .addTarget(new TargetOpponentsCreaturePermanent().withChooseHint("to fight"))); + } + + private BrigidsCommand(final BrigidsCommand card) { + super(card); + } + + @Override + public BrigidsCommand copy() { + return new BrigidsCommand(this); + } +} diff --git a/Mage.Sets/src/mage/sets/LorwynEclipsed.java b/Mage.Sets/src/mage/sets/LorwynEclipsed.java index 3c98f5f845a..02a3a9a64dc 100644 --- a/Mage.Sets/src/mage/sets/LorwynEclipsed.java +++ b/Mage.Sets/src/mage/sets/LorwynEclipsed.java @@ -50,6 +50,8 @@ public final class LorwynEclipsed extends ExpansionSet { cards.add(new SetCardInfo("Boggart Mischief", 92, Rarity.UNCOMMON, mage.cards.b.BoggartMischief.class)); cards.add(new SetCardInfo("Boldwyr Aggressor", 125, Rarity.UNCOMMON, mage.cards.b.BoldwyrAggressor.class)); cards.add(new SetCardInfo("Boneclub Berserker", 126, Rarity.COMMON, mage.cards.b.BoneclubBerserker.class)); + cards.add(new SetCardInfo("Brigid's Command", 208, Rarity.RARE, mage.cards.b.BrigidsCommand.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Brigid's Command", 332, Rarity.RARE, mage.cards.b.BrigidsCommand.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Bristlebane Battler", 168, Rarity.RARE, mage.cards.b.BristlebaneBattler.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Bristlebane Battler", 325, Rarity.RARE, mage.cards.b.BristlebaneBattler.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Burdened Stoneback", 8, Rarity.UNCOMMON, mage.cards.b.BurdenedStoneback.class));