From 7e050e04e10fee4883a1b26aa6405c0f59fbe00c Mon Sep 17 00:00:00 2001 From: Muz Date: Fri, 9 Jan 2026 19:54:05 -0600 Subject: [PATCH] [ECL] Implement Noggle the Mind (#14208) --- Mage.Sets/src/mage/cards/n/NoggleTheMind.java | 55 +++++++++++++++++++ Mage.Sets/src/mage/sets/LorwynEclipsed.java | 1 + 2 files changed, 56 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/n/NoggleTheMind.java diff --git a/Mage.Sets/src/mage/cards/n/NoggleTheMind.java b/Mage.Sets/src/mage/cards/n/NoggleTheMind.java new file mode 100644 index 00000000000..d68143f73d6 --- /dev/null +++ b/Mage.Sets/src/mage/cards/n/NoggleTheMind.java @@ -0,0 +1,55 @@ +package mage.cards.n; + +import java.util.UUID; +import mage.constants.SubType; +import mage.game.permanent.token.custom.CreatureToken; +import mage.abilities.keyword.FlashAbility; +import mage.target.common.TargetCreaturePermanent; +import mage.abilities.common.SimpleStaticAbility; +import mage.abilities.effects.common.AttachEffect; +import mage.abilities.effects.common.continuous.BecomesCreatureAttachedEffect; +import mage.constants.Outcome; +import mage.target.TargetPermanent; +import mage.abilities.keyword.EnchantAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; + +/** + * + * @author muz + */ +public final class NoggleTheMind extends CardImpl { + + public NoggleTheMind(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{1}{U}"); + + this.subtype.add(SubType.AURA); + + // Flash + this.addAbility(FlashAbility.getInstance()); + + // Enchant creature + TargetPermanent auraTarget = new TargetCreaturePermanent(); + this.getSpellAbility().addTarget(auraTarget); + this.getSpellAbility().addEffect(new AttachEffect(Outcome.BoostCreature)); + this.addAbility(new EnchantAbility(auraTarget)); + + // Enchanted creature loses all abilities and is a colorless Noggle with base power and toughness 1/1. + this.addAbility(new SimpleStaticAbility(new BecomesCreatureAttachedEffect( + new CreatureToken(1, 1, "", SubType.NOGGLE), + "Enchanted creature loses all abilities and is a colorless Noggle with base power and toughness 1/1", + Duration.WhileOnBattlefield, BecomesCreatureAttachedEffect.LoseType.ALL, Outcome.Detriment + ))); + } + + private NoggleTheMind(final NoggleTheMind card) { + super(card); + } + + @Override + public NoggleTheMind copy() { + return new NoggleTheMind(this); + } +} diff --git a/Mage.Sets/src/mage/sets/LorwynEclipsed.java b/Mage.Sets/src/mage/sets/LorwynEclipsed.java index 736b6443162..6bc9599e0b8 100644 --- a/Mage.Sets/src/mage/sets/LorwynEclipsed.java +++ b/Mage.Sets/src/mage/sets/LorwynEclipsed.java @@ -212,6 +212,7 @@ public final class LorwynEclipsed extends ExpansionSet { cards.add(new SetCardInfo("Nameless Inversion", 113, Rarity.UNCOMMON, mage.cards.n.NamelessInversion.class)); cards.add(new SetCardInfo("Nightmare Sower", 114, Rarity.UNCOMMON, mage.cards.n.NightmareSower.class)); cards.add(new SetCardInfo("Noggle Robber", 237, Rarity.UNCOMMON, mage.cards.n.NoggleRobber.class)); + cards.add(new SetCardInfo("Noggle the Mind", 60, Rarity.UNCOMMON, mage.cards.n.NoggleTheMind.class)); cards.add(new SetCardInfo("Omni-Changeling", 62, Rarity.UNCOMMON, mage.cards.o.OmniChangeling.class)); cards.add(new SetCardInfo("Overgrown Tomb", "350b", Rarity.RARE, mage.cards.o.OvergrownTomb.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Overgrown Tomb", 266, Rarity.RARE, mage.cards.o.OvergrownTomb.class, NON_FULL_USE_VARIOUS));