From fa69cc733d7ae6f26ffb31d710271692cea380d4 Mon Sep 17 00:00:00 2001 From: Muz Date: Sun, 18 Jan 2026 16:44:47 -0600 Subject: [PATCH] [TMT] Implement Cool but Rude (#14272) --- Mage.Sets/src/mage/cards/c/CoolButRude.java | 72 +++++++++++++++++++ .../mage/sets/TeenageMutantNinjaTurtles.java | 1 + Utils/mtg-cards-data.txt | 1 + 3 files changed, 74 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/c/CoolButRude.java diff --git a/Mage.Sets/src/mage/cards/c/CoolButRude.java b/Mage.Sets/src/mage/cards/c/CoolButRude.java new file mode 100644 index 00000000000..a3719ed0544 --- /dev/null +++ b/Mage.Sets/src/mage/cards/c/CoolButRude.java @@ -0,0 +1,72 @@ +package mage.cards.c; + +import java.util.UUID; +import mage.constants.SubType; +import mage.constants.TargetController; +import mage.target.common.TargetCardInLibrary; +import mage.abilities.Ability; +import mage.abilities.common.AttacksWithCreaturesTriggeredAbility; +import mage.abilities.common.BecomesClassLevelTriggeredAbility; +import mage.abilities.common.SimpleStaticAbility; +import mage.abilities.costs.common.DiscardCardCost; +import mage.abilities.effects.common.DamagePlayersEffect; +import mage.abilities.effects.common.DiscardCardControllerTriggeredAbility; +import mage.abilities.effects.common.DoIfCostPaid; +import mage.abilities.effects.common.DrawCardSourceControllerEffect; +import mage.abilities.effects.common.continuous.GainClassAbilitySourceEffect; +import mage.abilities.effects.common.discard.DiscardControllerEffect; +import mage.abilities.effects.common.search.SearchLibraryPutInHandEffect; +import mage.abilities.keyword.ClassLevelAbility; +import mage.abilities.keyword.ClassReminderAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; + +/** + * + * @author muz + */ +public final class CoolButRude extends CardImpl { + + public CoolButRude(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{1}{R}"); + + this.subtype.add(SubType.CLASS); + + // (Gain the next level as a sorcery to add its ability.) + this.addAbility(new ClassReminderAbility()); + + // Whenever you attack, you may discard a card. If you do, draw a card. + this.addAbility(new AttacksWithCreaturesTriggeredAbility( + new DoIfCostPaid(new DrawCardSourceControllerEffect(1), new DiscardCardCost()), 1 + )); + + // {1}{R}: Level 2 + this.addAbility(new ClassLevelAbility(2, "{1}{R}")); + + // Whenever you discard a card, this Class deals 2 damage to each opponent. + this.addAbility(new SimpleStaticAbility( + new GainClassAbilitySourceEffect(new DiscardCardControllerTriggeredAbility( + new DamagePlayersEffect(2, TargetController.OPPONENT), false), 2 + ) + )); + + // {1}{R}: Level 3 + this.addAbility(new ClassLevelAbility(3, "{1}{R}")); + + // When this Class becomes level 3, search your library for a card, put it into your hand, shuffle, then discard a card at random. + Ability ability = new BecomesClassLevelTriggeredAbility( + new SearchLibraryPutInHandEffect(new TargetCardInLibrary(), false), 3); + ability.addEffect(new DiscardControllerEffect(1, true).concatBy(", then")); + this.addAbility(ability); + } + + private CoolButRude(final CoolButRude card) { + super(card); + } + + @Override + public CoolButRude copy() { + return new CoolButRude(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TeenageMutantNinjaTurtles.java b/Mage.Sets/src/mage/sets/TeenageMutantNinjaTurtles.java index b5fea9bad55..2c1a5a4cc1e 100644 --- a/Mage.Sets/src/mage/sets/TeenageMutantNinjaTurtles.java +++ b/Mage.Sets/src/mage/sets/TeenageMutantNinjaTurtles.java @@ -24,6 +24,7 @@ public final class TeenageMutantNinjaTurtles extends ExpansionSet { cards.add(new SetCardInfo("Bebop & Rocksteady", 140, Rarity.RARE, mage.cards.b.BebopAndRocksteady.class)); cards.add(new SetCardInfo("Broadcast Takeover", 86, Rarity.MYTHIC, mage.cards.b.BroadcastTakeover.class)); cards.add(new SetCardInfo("Casey Jones, Jury-Rig Justiciar", 87, Rarity.UNCOMMON, mage.cards.c.CaseyJonesJuryRigJusticiar.class)); + cards.add(new SetCardInfo("Cool but Rude", 89, Rarity.RARE, mage.cards.c.CoolButRude.class)); cards.add(new SetCardInfo("Does Machines", 34, Rarity.RARE, mage.cards.d.DoesMachines.class)); cards.add(new SetCardInfo("Forest", 257, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS)); cards.add(new SetCardInfo("Forest", 314, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS)); diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index 2a0a2eef4ea..d6650b9543c 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -61326,6 +61326,7 @@ Splinter's Technique|Teenage Mutant Ninja Turtles|80|R|{3}{B}|Sorcery|||Sneak {1 Super Shredder|Teenage Mutant Ninja Turtles|83|M|{1}{B}|Legendary Creature - Mutant Ninja Human|1|1|Menace$Whenever another permanent leaves the battlefield, put a +1/+1 counter on Super Shredder.| Broadcast Takeover|Teenage Mutant Ninja Turtles|86|M|{2}{R}{R}{R}|Sorcery|||Gain control of all artifacts your opponents control until end of turn. Untap them. They gain haste until end of turn.| Casey Jones, Jury-Rig Justiciar|Teenage Mutant Ninja Turtles|87|U|{1}{R}|Legendary Creature - Human Berserker|2|1|Haste$When Casey Jones enters, look at the top four cards of your library. You may reveal an artifact card from among them and put it into your hand. Put the rest on the bottom of your library in a random order.| +Cool but Rude|Teenage Mutant Ninja Turtles|89|R|{1}{R}|Enchantment - Class|||(Gain the next level as a sorcery to add its ability.)$Whenever you attack, you may discard a card. If you do, draw a card.${1}{R}: Level 2$Whenever you discard a card, this Class deals 2 damage to each opponent.${1}{R}: Level 3$When this Class becomes level 3, search your library for a card, put it into your hand, shuffle, then discard a card at random.| Raphael, the Nightwatcher|Teenage Mutant Ninja Turtles|103|R|{2}{R}{R}|Legendary Creature - Mutant Ninja Turtle|2|3|Sneak {1}{R}{R}$Attacking creatures you control have double strike.| Raphael's Technique|Teenage Mutant Ninja Turtles|105|R|{4}{R}{R}|Instant|||Sneak {2}{R}$Each player may discard their hand and draw seven cards.| Groundchuck & Dirtbag|Teenage Mutant Ninja Turtles|115|R|{4}{G}{G}|Legendary Creature - Ox Mole Mutant|8|8|Trample$Whenever you tap a land for mana, add {G}.|