From 362883eedc2a1c633906a13290e4e0e62d9927ae Mon Sep 17 00:00:00 2001 From: theelk801 Date: Fri, 31 Jan 2025 18:36:17 -0500 Subject: [PATCH] [DFT] Implement Skycrash --- Mage.Sets/src/mage/cards/s/Skycrash.java | 37 ++++++++++++++++++++++++ Mage.Sets/src/mage/sets/Aetherdrift.java | 1 + 2 files changed, 38 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/s/Skycrash.java diff --git a/Mage.Sets/src/mage/cards/s/Skycrash.java b/Mage.Sets/src/mage/cards/s/Skycrash.java new file mode 100644 index 00000000000..a6cb039bc17 --- /dev/null +++ b/Mage.Sets/src/mage/cards/s/Skycrash.java @@ -0,0 +1,37 @@ +package mage.cards.s; + +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.common.DestroyTargetEffect; +import mage.abilities.keyword.CyclingAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.target.common.TargetArtifactPermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class Skycrash extends CardImpl { + + public Skycrash(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{R}"); + + // Destroy target artifact. + this.getSpellAbility().addEffect(new DestroyTargetEffect()); + this.getSpellAbility().addTarget(new TargetArtifactPermanent()); + + // Cycling {R} + this.addAbility(new CyclingAbility(new ManaCostsImpl<>("{R}"))); + } + + private Skycrash(final Skycrash card) { + super(card); + } + + @Override + public Skycrash copy() { + return new Skycrash(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Aetherdrift.java b/Mage.Sets/src/mage/sets/Aetherdrift.java index 8e0ced98545..4f62790d8cd 100644 --- a/Mage.Sets/src/mage/sets/Aetherdrift.java +++ b/Mage.Sets/src/mage/sets/Aetherdrift.java @@ -149,6 +149,7 @@ public final class Aetherdrift extends ExpansionSet { cards.add(new SetCardInfo("Shefet Archfiend", 104, Rarity.UNCOMMON, mage.cards.s.ShefetArchfiend.class)); cards.add(new SetCardInfo("Silken Strength", 180, Rarity.COMMON, mage.cards.s.SilkenStrength.class)); cards.add(new SetCardInfo("Skybox Ferry", 243, Rarity.COMMON, mage.cards.s.SkyboxFerry.class)); + cards.add(new SetCardInfo("Skycrash", 146, Rarity.UNCOMMON, mage.cards.s.Skycrash.class)); cards.add(new SetCardInfo("Spell Pierce", 64, Rarity.UNCOMMON, mage.cards.s.SpellPierce.class)); cards.add(new SetCardInfo("Spotcycle Scouter", 30, Rarity.COMMON, mage.cards.s.SpotcycleScouter.class)); cards.add(new SetCardInfo("Starting Column", 244, Rarity.COMMON, mage.cards.s.StartingColumn.class));