From 8fbbd593a66e38de40aa5f53ab48946cd8f5346c Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Thu, 7 Jun 2018 22:54:05 -0400 Subject: [PATCH] Implemented Drown in Shapelessness --- .../mage/cards/d/DrownInShapelessness.java | 32 +++++++++++++++++++ .../src/mage/sets/JiangYangguMuYanling.java | 1 + Utils/mtg-cards-data.txt | 1 - 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 Mage.Sets/src/mage/cards/d/DrownInShapelessness.java diff --git a/Mage.Sets/src/mage/cards/d/DrownInShapelessness.java b/Mage.Sets/src/mage/cards/d/DrownInShapelessness.java new file mode 100644 index 0000000000..d597683779 --- /dev/null +++ b/Mage.Sets/src/mage/cards/d/DrownInShapelessness.java @@ -0,0 +1,32 @@ +package mage.cards.d; + +import java.util.UUID; +import mage.abilities.effects.common.ReturnToHandTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.target.common.TargetCreaturePermanent; + +/** + * + * @author TheElk801 + */ +public final class DrownInShapelessness extends CardImpl { + + public DrownInShapelessness(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{U}"); + + // Return target creature to its owner's hand. + this.getSpellAbility().addEffect(new ReturnToHandTargetEffect()); + this.getSpellAbility().addTarget(new TargetCreaturePermanent()); + } + + public DrownInShapelessness(final DrownInShapelessness card) { + super(card); + } + + @Override + public DrownInShapelessness copy() { + return new DrownInShapelessness(this); + } +} diff --git a/Mage.Sets/src/mage/sets/JiangYangguMuYanling.java b/Mage.Sets/src/mage/sets/JiangYangguMuYanling.java index 6942370d0d..a0182048a2 100644 --- a/Mage.Sets/src/mage/sets/JiangYangguMuYanling.java +++ b/Mage.Sets/src/mage/sets/JiangYangguMuYanling.java @@ -26,6 +26,7 @@ public final class JiangYangguMuYanling extends ExpansionSet { cards.add(new SetCardInfo("Cleansing Screech", 37, Rarity.COMMON, mage.cards.c.CleansingScreech.class)); cards.add(new SetCardInfo("Cloak of Mists", 13, Rarity.COMMON, mage.cards.c.CloakOfMists.class)); cards.add(new SetCardInfo("Colorful Feiyi Sparrow", 2, Rarity.COMMON, mage.cards.c.ColorfulFeiyiSparrow.class)); + cards.add(new SetCardInfo("Drown in Shapelessness", 15, Rarity.COMMON, mage.cards.d.DrownInShapelessness.class)); cards.add(new SetCardInfo("Forest", 40, Rarity.LAND, mage.cards.basiclands.Forest.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Giant Spider", 27, Rarity.COMMON, mage.cards.g.GiantSpider.class)); cards.add(new SetCardInfo("Island", 21, Rarity.LAND, mage.cards.basiclands.Island.class, NON_FULL_USE_VARIOUS)); diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index c651b0016e..8e5cce226f 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -33662,4 +33662,3 @@ Cleansing Screech|Global Series: Jiang Yanggu & Mu Yanling|37|C|{4}{R}|Sorcery|| Timber Gorge|Global Series: Jiang Yanggu & Mu Yanling|38|C||Land|||Timber Gorge enters the battlefield tapped.${T}: Add {R} or {G}.| Mountain|Global Series: Jiang Yanggu & Mu Yanling|39|C||Basic Land - Mountain|||({T}: Add {R}.)| Forest|Global Series: Jiang Yanggu & Mu Yanling|40|C||Basic Land - Forest|||({T}: Add {G}.)| -