From f012b18d8dba77c8adf9dceda163329c1b1277b9 Mon Sep 17 00:00:00 2001 From: theelk801 Date: Sun, 12 Oct 2025 09:35:44 -0400 Subject: [PATCH] [TMC] Implement Michelangelo, the Heart --- .../mage/cards/m/MichelangeloTheHeart.java | 62 +++++++++++++++++++ .../TeenageMutantNinjaTurtlesEternal.java | 1 + 2 files changed, 63 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/m/MichelangeloTheHeart.java diff --git a/Mage.Sets/src/mage/cards/m/MichelangeloTheHeart.java b/Mage.Sets/src/mage/cards/m/MichelangeloTheHeart.java new file mode 100644 index 00000000000..b3688fc86dd --- /dev/null +++ b/Mage.Sets/src/mage/cards/m/MichelangeloTheHeart.java @@ -0,0 +1,62 @@ +package mage.cards.m; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.condition.common.RaidCondition; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.effects.common.counter.AddCountersTargetEffect; +import mage.abilities.hint.common.RaidHint; +import mage.abilities.keyword.TrampleAbility; +import mage.abilities.triggers.BeginningOfSecondMainTriggeredAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.PartnerVariantType; +import mage.constants.SubType; +import mage.constants.SuperType; +import mage.counters.CounterType; +import mage.game.permanent.token.FoodToken; +import mage.target.common.TargetCreaturePermanent; +import mage.watchers.common.PlayerAttackedWatcher; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class MichelangeloTheHeart extends CardImpl { + + public MichelangeloTheHeart(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{G}"); + + this.supertype.add(SuperType.LEGENDARY); + this.subtype.add(SubType.MUTANT); + this.subtype.add(SubType.NINJA); + this.subtype.add(SubType.TURTLE); + this.power = new MageInt(2); + this.toughness = new MageInt(1); + + // Trample + this.addAbility(TrampleAbility.getInstance()); + + // Raid (the Fridge) -- At the beginning of your second main phase, if you attacked this turn, put a +1/+1 counter on target creature and create a Food token. + Ability ability = new BeginningOfSecondMainTriggeredAbility( + new AddCountersTargetEffect(CounterType.P1P1.createInstance()), false + ).withInterveningIf(RaidCondition.instance); + ability.addEffect(new CreateTokenEffect(new FoodToken()).concatBy("and")); + ability.addTarget(new TargetCreaturePermanent()); + this.addAbility(ability.addHint(RaidHint.instance).withFlavorWord("Raid (the Fridge)"), new PlayerAttackedWatcher()); + + // Partner--Character select + this.addAbility(PartnerVariantType.CHARACTER_SELECT.makeAbility()); + } + + private MichelangeloTheHeart(final MichelangeloTheHeart card) { + super(card); + } + + @Override + public MichelangeloTheHeart copy() { + return new MichelangeloTheHeart(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TeenageMutantNinjaTurtlesEternal.java b/Mage.Sets/src/mage/sets/TeenageMutantNinjaTurtlesEternal.java index 453fcf33c5b..7bc25447a47 100644 --- a/Mage.Sets/src/mage/sets/TeenageMutantNinjaTurtlesEternal.java +++ b/Mage.Sets/src/mage/sets/TeenageMutantNinjaTurtlesEternal.java @@ -24,6 +24,7 @@ public final class TeenageMutantNinjaTurtlesEternal extends ExpansionSet { cards.add(new SetCardInfo("Donatello, the Brains", 2, Rarity.MYTHIC, mage.cards.d.DonatelloTheBrains.class)); cards.add(new SetCardInfo("Leonardo, Worldly Warrior", 101, Rarity.MYTHIC, mage.cards.l.LeonardoWorldlyWarrior.class)); cards.add(new SetCardInfo("Leonardo, the Balance", 1, Rarity.MYTHIC, mage.cards.l.LeonardoTheBalance.class)); + cards.add(new SetCardInfo("Michelangelo, the Heart", 5, Rarity.MYTHIC, mage.cards.m.MichelangeloTheHeart.class)); cards.add(new SetCardInfo("Splinter, the Mentor", 3, Rarity.MYTHIC, mage.cards.s.SplinterTheMentor.class)); } }