From b9f003ab8c229533341b0558191b473623f62374 Mon Sep 17 00:00:00 2001 From: theelk801 Date: Fri, 10 Oct 2025 14:13:46 -0400 Subject: [PATCH] [TMT] Implement Casey Jones, Jury-Rig Justiciar --- .../cards/c/CaseyJonesJuryRigJusticiar.java | 48 +++++++++++++++++++ .../mage/sets/TeenageMutantNinjaTurtles.java | 1 + 2 files changed, 49 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/c/CaseyJonesJuryRigJusticiar.java diff --git a/Mage.Sets/src/mage/cards/c/CaseyJonesJuryRigJusticiar.java b/Mage.Sets/src/mage/cards/c/CaseyJonesJuryRigJusticiar.java new file mode 100644 index 00000000000..1235b108809 --- /dev/null +++ b/Mage.Sets/src/mage/cards/c/CaseyJonesJuryRigJusticiar.java @@ -0,0 +1,48 @@ +package mage.cards.c; + +import mage.MageInt; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.LookLibraryAndPickControllerEffect; +import mage.abilities.keyword.HasteAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.PutCards; +import mage.constants.SubType; +import mage.constants.SuperType; +import mage.filter.StaticFilters; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class CaseyJonesJuryRigJusticiar extends CardImpl { + + public CaseyJonesJuryRigJusticiar(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{R}"); + + this.supertype.add(SuperType.LEGENDARY); + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.BERSERKER); + this.power = new MageInt(2); + this.toughness = new MageInt(1); + + // Haste + this.addAbility(HasteAbility.getInstance()); + + // 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. + this.addAbility(new EntersBattlefieldTriggeredAbility(new LookLibraryAndPickControllerEffect( + 4, 1, StaticFilters.FILTER_CARD_ARTIFACT_AN, PutCards.HAND, PutCards.BOTTOM_RANDOM + ))); + } + + private CaseyJonesJuryRigJusticiar(final CaseyJonesJuryRigJusticiar card) { + super(card); + } + + @Override + public CaseyJonesJuryRigJusticiar copy() { + return new CaseyJonesJuryRigJusticiar(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TeenageMutantNinjaTurtles.java b/Mage.Sets/src/mage/sets/TeenageMutantNinjaTurtles.java index 95e19214771..b14698fdd88 100644 --- a/Mage.Sets/src/mage/sets/TeenageMutantNinjaTurtles.java +++ b/Mage.Sets/src/mage/sets/TeenageMutantNinjaTurtles.java @@ -20,6 +20,7 @@ public final class TeenageMutantNinjaTurtles extends ExpansionSet { this.blockName = "Teenage Mutant Ninja Turtles"; // for sorting in GUI this.hasBasicLands = true; + cards.add(new SetCardInfo("Casey Jones, Jury-Rig Justiciar", 87, Rarity.UNCOMMON, mage.cards.c.CaseyJonesJuryRigJusticiar.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)); cards.add(new SetCardInfo("Island", 254, Rarity.LAND, mage.cards.basiclands.Island.class, FULL_ART_BFZ_VARIOUS));