From 51fb9a8657940e727adbab66246911d20219be2a Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Fri, 4 Feb 2022 17:32:46 -0500 Subject: [PATCH] [NEO] Implemented Wanderer's Intervention --- .../mage/cards/w/WanderersIntervention.java | 32 +++++++++++++++++++ .../src/mage/sets/KamigawaNeonDynasty.java | 1 + 2 files changed, 33 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/w/WanderersIntervention.java diff --git a/Mage.Sets/src/mage/cards/w/WanderersIntervention.java b/Mage.Sets/src/mage/cards/w/WanderersIntervention.java new file mode 100644 index 0000000000..2693c750a1 --- /dev/null +++ b/Mage.Sets/src/mage/cards/w/WanderersIntervention.java @@ -0,0 +1,32 @@ +package mage.cards.w; + +import mage.abilities.effects.common.DamageTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.target.common.TargetAttackingOrBlockingCreature; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class WanderersIntervention extends CardImpl { + + public WanderersIntervention(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{W}"); + + // Wanderer's Intervention deals 4 damage to target attacking or blocking creature. + this.getSpellAbility().addEffect(new DamageTargetEffect(4)); + this.getSpellAbility().addTarget(new TargetAttackingOrBlockingCreature()); + } + + private WanderersIntervention(final WanderersIntervention card) { + super(card); + } + + @Override + public WanderersIntervention copy() { + return new WanderersIntervention(this); + } +} diff --git a/Mage.Sets/src/mage/sets/KamigawaNeonDynasty.java b/Mage.Sets/src/mage/sets/KamigawaNeonDynasty.java index d769b7267e..b3d12eee4f 100644 --- a/Mage.Sets/src/mage/sets/KamigawaNeonDynasty.java +++ b/Mage.Sets/src/mage/sets/KamigawaNeonDynasty.java @@ -181,6 +181,7 @@ public final class KamigawaNeonDynasty extends ExpansionSet { cards.add(new SetCardInfo("Vector Glider", 66, Rarity.COMMON, mage.cards.v.VectorGlider.class)); cards.add(new SetCardInfo("Vision of the Unspeakable", 48, Rarity.UNCOMMON, mage.cards.v.VisionOfTheUnspeakable.class)); cards.add(new SetCardInfo("Walking Skyscraper", 263, Rarity.UNCOMMON, mage.cards.w.WalkingSkyscraper.class)); + cards.add(new SetCardInfo("Wanderer's Intervention", 41, Rarity.COMMON, mage.cards.w.WanderersIntervention.class)); cards.add(new SetCardInfo("Weaver of Harmony", 213, Rarity.RARE, mage.cards.w.WeaverOfHarmony.class)); cards.add(new SetCardInfo("You Are Already Dead", 129, Rarity.COMMON, mage.cards.y.YouAreAlreadyDead.class));