From 8bffde987362e80fcadb2c3976640557ff1ce035 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Wed, 28 Oct 2020 17:20:18 -0400 Subject: [PATCH] [CMR] Implemented Natural Reclamation --- .../src/mage/cards/n/NaturalReclamation.java | 37 +++++++++++++++++++ Mage.Sets/src/mage/sets/CommanderLegends.java | 1 + 2 files changed, 38 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/n/NaturalReclamation.java diff --git a/Mage.Sets/src/mage/cards/n/NaturalReclamation.java b/Mage.Sets/src/mage/cards/n/NaturalReclamation.java new file mode 100644 index 0000000000..1965c296df --- /dev/null +++ b/Mage.Sets/src/mage/cards/n/NaturalReclamation.java @@ -0,0 +1,37 @@ +package mage.cards.n; + +import mage.abilities.effects.common.DestroyTargetEffect; +import mage.abilities.keyword.CascadeAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.filter.StaticFilters; +import mage.target.TargetPermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class NaturalReclamation extends CardImpl { + + public NaturalReclamation(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{4}{G}"); + + // Cascade + this.addAbility(new CascadeAbility()); + + // Destroy target artifact or enchantment. + this.getSpellAbility().addEffect(new DestroyTargetEffect()); + this.getSpellAbility().addTarget(new TargetPermanent(StaticFilters.FILTER_PERMANENT_ARTIFACT_OR_ENCHANTMENT)); + } + + private NaturalReclamation(final NaturalReclamation card) { + super(card); + } + + @Override + public NaturalReclamation copy() { + return new NaturalReclamation(this); + } +} diff --git a/Mage.Sets/src/mage/sets/CommanderLegends.java b/Mage.Sets/src/mage/sets/CommanderLegends.java index b533cffd93..2b005c361f 100644 --- a/Mage.Sets/src/mage/sets/CommanderLegends.java +++ b/Mage.Sets/src/mage/sets/CommanderLegends.java @@ -63,6 +63,7 @@ public final class CommanderLegends extends ExpansionSet { cards.add(new SetCardInfo("Marble Diamond", 323, Rarity.COMMON, mage.cards.m.MarbleDiamond.class)); cards.add(new SetCardInfo("Mask of Memory", 324, Rarity.UNCOMMON, mage.cards.m.MaskOfMemory.class)); cards.add(new SetCardInfo("Mindless Automaton", 326, Rarity.UNCOMMON, mage.cards.m.MindlessAutomaton.class)); + cards.add(new SetCardInfo("Natural Reclamation", 245, Rarity.COMMON, mage.cards.n.NaturalReclamation.class)); cards.add(new SetCardInfo("Nekusar, the Mindrazer", 529, Rarity.MYTHIC, mage.cards.n.NekusarTheMindrazer.class)); cards.add(new SetCardInfo("Phyrexian Rager", 142, Rarity.COMMON, mage.cards.p.PhyrexianRager.class)); cards.add(new SetCardInfo("Phyrexian Triniform", 331, Rarity.MYTHIC, mage.cards.p.PhyrexianTriniform.class));