From 592782896552502464a27ca3080f90427dd71c99 Mon Sep 17 00:00:00 2001 From: theelk801 Date: Wed, 10 Dec 2025 11:20:00 -0500 Subject: [PATCH] [MSH] Implement The Sentry, Golden Guardian --- .../mage/cards/t/TheSentryGoldenGuardian.java | 57 +++++++++++++++++++ .../src/mage/sets/MarvelSuperHeroes.java | 1 + .../game/permanent/token/TheVoidToken.java | 39 +++++++++++++ 3 files changed, 97 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/t/TheSentryGoldenGuardian.java create mode 100644 Mage/src/main/java/mage/game/permanent/token/TheVoidToken.java diff --git a/Mage.Sets/src/mage/cards/t/TheSentryGoldenGuardian.java b/Mage.Sets/src/mage/cards/t/TheSentryGoldenGuardian.java new file mode 100644 index 00000000000..b75edce7f1b --- /dev/null +++ b/Mage.Sets/src/mage/cards/t/TheSentryGoldenGuardian.java @@ -0,0 +1,57 @@ +package mage.cards.t; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.CreateTokenTargetEffect; +import mage.abilities.keyword.FlyingAbility; +import mage.abilities.keyword.IndestructibleAbility; +import mage.abilities.keyword.VigilanceAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.constants.SuperType; +import mage.game.permanent.token.TheVoidToken; +import mage.target.common.TargetOpponent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class TheSentryGoldenGuardian extends CardImpl { + + public TheSentryGoldenGuardian(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}"); + + this.supertype.add(SuperType.LEGENDARY); + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.HERO); + this.power = new MageInt(5); + this.toughness = new MageInt(5); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + + // Vigilance + this.addAbility(VigilanceAbility.getInstance()); + + // Indestructible + this.addAbility(IndestructibleAbility.getInstance()); + + // When The Sentry enters, target opponent creates The Void, a legendary 5/5 black Horror Villain creature token with flying, indestructible, and "The Void attacks each combat if able." + Ability ability = new EntersBattlefieldTriggeredAbility(new CreateTokenTargetEffect(new TheVoidToken())); + ability.addTarget(new TargetOpponent()); + this.addAbility(ability); + } + + private TheSentryGoldenGuardian(final TheSentryGoldenGuardian card) { + super(card); + } + + @Override + public TheSentryGoldenGuardian copy() { + return new TheSentryGoldenGuardian(this); + } +} diff --git a/Mage.Sets/src/mage/sets/MarvelSuperHeroes.java b/Mage.Sets/src/mage/sets/MarvelSuperHeroes.java index 56f63e1640a..f7e9b564014 100644 --- a/Mage.Sets/src/mage/sets/MarvelSuperHeroes.java +++ b/Mage.Sets/src/mage/sets/MarvelSuperHeroes.java @@ -30,5 +30,6 @@ public final class MarvelSuperHeroes extends ExpansionSet { cards.add(new SetCardInfo("Super-Skrull", 115, Rarity.RARE, mage.cards.s.SuperSkrull.class)); cards.add(new SetCardInfo("The Coming of Galactus", 212, Rarity.MYTHIC, mage.cards.t.TheComingOfGalactus.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("The Coming of Galactus", 307, Rarity.MYTHIC, mage.cards.t.TheComingOfGalactus.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("The Sentry, Golden Guardian", 35, Rarity.RARE, mage.cards.t.TheSentryGoldenGuardian.class)); } } diff --git a/Mage/src/main/java/mage/game/permanent/token/TheVoidToken.java b/Mage/src/main/java/mage/game/permanent/token/TheVoidToken.java new file mode 100644 index 00000000000..6ff4514f894 --- /dev/null +++ b/Mage/src/main/java/mage/game/permanent/token/TheVoidToken.java @@ -0,0 +1,39 @@ +package mage.game.permanent.token; + +import mage.MageInt; +import mage.abilities.common.AttacksEachCombatStaticAbility; +import mage.abilities.keyword.FlyingAbility; +import mage.abilities.keyword.IndestructibleAbility; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.constants.SuperType; + +/** + * @author TheElk801 + */ +public final class TheVoidToken extends TokenImpl { + + public TheVoidToken() { + super("The Void", "The Void, a legendary 5/5 black Horror Villain creature token with flying, indestructible, and \"The Void attacks each combat if able.\""); + supertype.add(SuperType.LEGENDARY); + cardType.add(CardType.CREATURE); + subtype.add(SubType.HORROR); + subtype.add(SubType.VILLAIN); + + color.setBlack(true); + power = new MageInt(5); + toughness = new MageInt(5); + + this.addAbility(FlyingAbility.getInstance()); + this.addAbility(IndestructibleAbility.getInstance()); + this.addAbility(new AttacksEachCombatStaticAbility()); + } + + private TheVoidToken(final TheVoidToken token) { + super(token); + } + + public TheVoidToken copy() { + return new TheVoidToken(this); + } +}