From 4b88f9df8371f8d97d5f516842fa277c454883f6 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Fri, 24 May 2019 19:45:56 -0400 Subject: [PATCH] Implemented Nature's Chant --- Mage.Sets/src/mage/cards/n/NaturesChant.java | 33 ++++++++++++++++++++ Mage.Sets/src/mage/sets/ModernHorizons.java | 1 + 2 files changed, 34 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/n/NaturesChant.java diff --git a/Mage.Sets/src/mage/cards/n/NaturesChant.java b/Mage.Sets/src/mage/cards/n/NaturesChant.java new file mode 100644 index 0000000000..89f53e3967 --- /dev/null +++ b/Mage.Sets/src/mage/cards/n/NaturesChant.java @@ -0,0 +1,33 @@ +package mage.cards.n; + +import mage.abilities.effects.common.DestroyTargetEffect; +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 NaturesChant extends CardImpl { + + public NaturesChant(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{G/W}"); + + // Destroy target artifact or enchantment. + this.getSpellAbility().addEffect(new DestroyTargetEffect()); + this.getSpellAbility().addTarget(new TargetPermanent(StaticFilters.FILTER_PERMANENT_ARTIFACT_OR_ENCHANTMENT)); + } + + private NaturesChant(final NaturesChant card) { + super(card); + } + + @Override + public NaturesChant copy() { + return new NaturesChant(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ModernHorizons.java b/Mage.Sets/src/mage/sets/ModernHorizons.java index 219757d23b..7a73bafdd5 100644 --- a/Mage.Sets/src/mage/sets/ModernHorizons.java +++ b/Mage.Sets/src/mage/sets/ModernHorizons.java @@ -72,6 +72,7 @@ public final class ModernHorizons extends ExpansionSet { cards.add(new SetCardInfo("Mother Bear", 171, Rarity.COMMON, mage.cards.m.MotherBear.class)); cards.add(new SetCardInfo("Mox Tantalite", 226, Rarity.MYTHIC, mage.cards.m.MoxTantalite.class)); cards.add(new SetCardInfo("Munitions Expert", 209, Rarity.UNCOMMON, mage.cards.m.MunitionsExpert.class)); + cards.add(new SetCardInfo("Nature's Chant", 210, Rarity.COMMON, mage.cards.n.NaturesChant.class)); cards.add(new SetCardInfo("Nimble Mongoose", 174, Rarity.COMMON, mage.cards.n.NimbleMongoose.class)); cards.add(new SetCardInfo("Nurturing Peatland", 243, Rarity.RARE, mage.cards.n.NurturingPeatland.class)); cards.add(new SetCardInfo("Plague Engineer", 100, Rarity.RARE, mage.cards.p.PlagueEngineer.class));