From 3011526adb82f793f105fccb25811858a806c513 Mon Sep 17 00:00:00 2001 From: Muz Date: Wed, 7 Jan 2026 08:40:18 -0600 Subject: [PATCH] [ECL] Implement Glamer Gifter (#14186) --- Mage.Sets/src/mage/cards/g/GlamerGifter.java | 56 ++++++++++++++++++++ Mage.Sets/src/mage/sets/LorwynEclipsed.java | 1 + 2 files changed, 57 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/g/GlamerGifter.java diff --git a/Mage.Sets/src/mage/cards/g/GlamerGifter.java b/Mage.Sets/src/mage/cards/g/GlamerGifter.java new file mode 100644 index 00000000000..43f4ad2706a --- /dev/null +++ b/Mage.Sets/src/mage/cards/g/GlamerGifter.java @@ -0,0 +1,56 @@ +package mage.cards.g; + +import java.util.UUID; +import mage.MageInt; +import mage.constants.SubType; +import mage.filter.StaticFilters; +import mage.target.TargetPermanent; +import mage.abilities.Ability; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.continuous.GainAllCreatureTypesTargetEffect; +import mage.abilities.effects.common.continuous.SetBasePowerToughnessTargetEffect; +import mage.abilities.keyword.FlashAbility; +import mage.abilities.keyword.FlyingAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; + +/** + * + * @author muz + */ +public final class GlamerGifter extends CardImpl { + + public GlamerGifter(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{U}"); + + this.subtype.add(SubType.FAERIE); + this.subtype.add(SubType.WIZARD); + this.power = new MageInt(1); + this.toughness = new MageInt(2); + + // Flash + this.addAbility(FlashAbility.getInstance()); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + + // When this creature enters, choose up to one other target creature. Until end of turn, that creature has base power and toughness 4/4 and gains all creature types. + Ability ability = new EntersBattlefieldTriggeredAbility( + new SetBasePowerToughnessTargetEffect(4, 4, Duration.EndOfTurn).setText("choose up to one other target creature. Until end of turn, that creature has base power and toughness 4/4") + ); + ability.addEffect(new GainAllCreatureTypesTargetEffect(Duration.EndOfTurn).setText("and gains all creature types")); + ability.addTarget(new TargetPermanent(0, 1, StaticFilters.FILTER_ANOTHER_TARGET_CREATURE)); + this.addAbility(ability); + } + + private GlamerGifter(final GlamerGifter card) { + super(card); + } + + @Override + public GlamerGifter copy() { + return new GlamerGifter(this); + } +} diff --git a/Mage.Sets/src/mage/sets/LorwynEclipsed.java b/Mage.Sets/src/mage/sets/LorwynEclipsed.java index e555616f515..e3acd1e66df 100644 --- a/Mage.Sets/src/mage/sets/LorwynEclipsed.java +++ b/Mage.Sets/src/mage/sets/LorwynEclipsed.java @@ -82,6 +82,7 @@ public final class LorwynEclipsed extends ExpansionSet { cards.add(new SetCardInfo("Formidable Speaker", 366, Rarity.RARE, mage.cards.f.FormidableSpeaker.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Gallant Fowlknight", 17, Rarity.COMMON, mage.cards.g.GallantFowlknight.class)); cards.add(new SetCardInfo("Gangly Stompling", 226, Rarity.COMMON, mage.cards.g.GanglyStompling.class)); + cards.add(new SetCardInfo("Glamer Gifter", 49, Rarity.UNCOMMON, mage.cards.g.GlamerGifter.class)); cards.add(new SetCardInfo("Goatnap", 142, Rarity.UNCOMMON, mage.cards.g.Goatnap.class)); cards.add(new SetCardInfo("Great Forest Druid", 178, Rarity.COMMON, mage.cards.g.GreatForestDruid.class)); cards.add(new SetCardInfo("Gutsplitter Gang", 106, Rarity.UNCOMMON, mage.cards.g.GutsplitterGang.class));