From 3b9445e0098c72f7b81e77f98ed34684bd77f20e Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Wed, 2 Feb 2022 20:02:51 -0500 Subject: [PATCH] [NEO] Implemented Invoke the Winds --- .../src/mage/cards/i/InvokeTheWinds.java | 36 +++++++++++++++++++ .../src/mage/sets/KamigawaNeonDynasty.java | 1 + Utils/mtg-cards-data.txt | 1 + 3 files changed, 38 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/i/InvokeTheWinds.java diff --git a/Mage.Sets/src/mage/cards/i/InvokeTheWinds.java b/Mage.Sets/src/mage/cards/i/InvokeTheWinds.java new file mode 100644 index 0000000000..14da21550f --- /dev/null +++ b/Mage.Sets/src/mage/cards/i/InvokeTheWinds.java @@ -0,0 +1,36 @@ +package mage.cards.i; + +import mage.abilities.effects.common.UntapTargetEffect; +import mage.abilities.effects.common.continuous.GainControlTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.filter.StaticFilters; +import mage.target.TargetPermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class InvokeTheWinds extends CardImpl { + + public InvokeTheWinds(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{U}{U}{U}{U}"); + + // Gain control of target artifact or creature. Untap it. + this.getSpellAbility().addEffect(new GainControlTargetEffect(Duration.Custom)); + this.getSpellAbility().addEffect(new UntapTargetEffect().setText("Untap it")); + this.getSpellAbility().addTarget(new TargetPermanent(StaticFilters.FILTER_PERMANENT_ARTIFACT_OR_CREATURE)); + } + + private InvokeTheWinds(final InvokeTheWinds card) { + super(card); + } + + @Override + public InvokeTheWinds copy() { + return new InvokeTheWinds(this); + } +} diff --git a/Mage.Sets/src/mage/sets/KamigawaNeonDynasty.java b/Mage.Sets/src/mage/sets/KamigawaNeonDynasty.java index c556d890e9..06584eed2b 100644 --- a/Mage.Sets/src/mage/sets/KamigawaNeonDynasty.java +++ b/Mage.Sets/src/mage/sets/KamigawaNeonDynasty.java @@ -75,6 +75,7 @@ public final class KamigawaNeonDynasty extends ExpansionSet { cards.add(new SetCardInfo("Imperial Moth", 4, Rarity.COMMON, mage.cards.i.ImperialMoth.class)); cards.add(new SetCardInfo("Imperial Subduer", 19, Rarity.COMMON, mage.cards.i.ImperialSubduer.class)); cards.add(new SetCardInfo("Inkrise Infiltrator", 100, Rarity.COMMON, mage.cards.i.InkriseInfiltrator.class)); + cards.add(new SetCardInfo("Invoke the Winds", 58, Rarity.RARE, mage.cards.i.InvokeTheWinds.class)); cards.add(new SetCardInfo("Island", 285, Rarity.LAND, mage.cards.basiclands.Island.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Jukai Naturalist", 225, Rarity.UNCOMMON, mage.cards.j.JukaiNaturalist.class)); cards.add(new SetCardInfo("Junji, the Midnight Sky", 102, Rarity.MYTHIC, mage.cards.j.JunjiTheMidnightSky.class)); diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index de3d3a0603..8a2e362e0f 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -43544,6 +43544,7 @@ Discover the Impossible|Kamigawa: Neon Dynasty|50|U|{2}{U}|Instant|||Look at the Essence Capture|Kamigawa: Neon Dynasty|52|U|{U}{U}|Instant|||Counter target creature spell. Put a +1/+1 counter on up to one target creature you control.| Futurist Operative|Kamigawa: Neon Dynasty|53|U|{3}{U}|Creature - Human Ninja|3|4|As long as Futurist Operative is tapped, it's a Human Citizen with base power and toughness 1/1 and can't be blocked.${2}{U}: Untap Futurist Operative.| Guardians of Oboro|Kamigawa: Neon Dynasty|56|C|{2}{U}|Creature - Moonfolk Samurai|3|4|Defender$Modified creatures you control can attack as though they didn't have defender.| +Invoke the Winds|Kamigawa: Neon Dynasty|58|R|{1}{U}{U}{U}{U}|Sorcery|||Gain control of target artifact or creature. Untap it.| Jin-Gitaxias, Progress Tyrant|Kamigawa: Neon Dynasty|59|M|{5}{U}{U}|Legendary Creature - Phyrexian Praetor|5|5|Whenever you cast an artifact, instant, or sorcery spell, copy that spell. You may choose new targets for the copy. This ability triggers only once each turn.$Whenever an opponent casts an artifact, instant, or sorcery spell, counter that spell. This ability triggers only once each turn.| Kairi, the Swirling Sky|Kamigawa: Neon Dynasty|60|M|{4}{U}{U}|Legendary Creature - Dragon Spirit|6|6|Flying, ward {3}$When Kairi, the Swirling Sky dies, choose one —$• Return any number of target nonland permanents with total mana value 6 or less to their owners' hands.$• Mill six cards, then return up to two instant and/or sorcery cards from your graveyard to your hand.| Mobilizer Mech|Kamigawa: Neon Dynasty|65|U|{1}{U}|Artifact - Vehicle|3|4|Flying$Whenever Mobilizer Mech becomes crewed, up to one other target Vehicle you control becomes an artifact creature until end of turn.$Crew 3|