From a2a21816a0871509c0e9e0ceab2a2e986f74f45b Mon Sep 17 00:00:00 2001 From: theelk801 Date: Wed, 28 May 2025 07:18:19 -0400 Subject: [PATCH] [FIN] Implement Relentless X-ATM092 --- .../src/mage/cards/r/RelentlessXATM092.java | 51 +++++++++++++++++++ Mage.Sets/src/mage/sets/FinalFantasy.java | 1 + 2 files changed, 52 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/r/RelentlessXATM092.java diff --git a/Mage.Sets/src/mage/cards/r/RelentlessXATM092.java b/Mage.Sets/src/mage/cards/r/RelentlessXATM092.java new file mode 100644 index 00000000000..e9102b07657 --- /dev/null +++ b/Mage.Sets/src/mage/cards/r/RelentlessXATM092.java @@ -0,0 +1,51 @@ +package mage.cards.r; + +import mage.MageInt; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.common.SimpleStaticAbility; +import mage.abilities.costs.mana.GenericManaCost; +import mage.abilities.effects.common.ReturnSourceFromGraveyardToBattlefieldWithCounterEffect; +import mage.abilities.effects.common.combat.CantBeBlockedByOneEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.constants.Zone; +import mage.counters.CounterType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class RelentlessXATM092 extends CardImpl { + + public RelentlessXATM092(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{6}"); + + this.subtype.add(SubType.ROBOT); + this.subtype.add(SubType.SPIDER); + this.power = new MageInt(6); + this.toughness = new MageInt(5); + + // This creature can't be blocked except by three or more creatures. + this.addAbility(new SimpleStaticAbility(new CantBeBlockedByOneEffect(3))); + + // {8}: Return this card from your graveyard to the battlefield tapped with a finality counter on it. + this.addAbility(new SimpleActivatedAbility( + Zone.GRAVEYARD, + new ReturnSourceFromGraveyardToBattlefieldWithCounterEffect( + CounterType.FINALITY.createInstance(), true + ), new GenericManaCost(8) + )); + } + + private RelentlessXATM092(final RelentlessXATM092 card) { + super(card); + } + + @Override + public RelentlessXATM092 copy() { + return new RelentlessXATM092(this); + } +} diff --git a/Mage.Sets/src/mage/sets/FinalFantasy.java b/Mage.Sets/src/mage/sets/FinalFantasy.java index 138481e43d4..b21f641adce 100644 --- a/Mage.Sets/src/mage/sets/FinalFantasy.java +++ b/Mage.Sets/src/mage/sets/FinalFantasy.java @@ -390,6 +390,7 @@ public final class FinalFantasy extends ExpansionSet { cards.add(new SetCardInfo("Raubahn, Bull of Ala Mhigo", 533, Rarity.RARE, mage.cards.r.RaubahnBullOfAlaMhigo.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Reach the Horizon", 195, Rarity.UNCOMMON, mage.cards.r.ReachTheHorizon.class)); cards.add(new SetCardInfo("Red Mage's Rapier", 152, Rarity.COMMON, mage.cards.r.RedMagesRapier.class)); + cards.add(new SetCardInfo("Relentless X-ATM092", 268, Rarity.UNCOMMON, mage.cards.r.RelentlessXATM092.class)); cards.add(new SetCardInfo("Relm's Sketching", 67, Rarity.UNCOMMON, mage.cards.r.RelmsSketching.class)); cards.add(new SetCardInfo("Reno and Rude", 113, Rarity.UNCOMMON, mage.cards.r.RenoAndRude.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Reno and Rude", 450, Rarity.UNCOMMON, mage.cards.r.RenoAndRude.class, NON_FULL_USE_VARIOUS));