From 5b2bd556bd34844daa029f3211c02530acf008c2 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Tue, 18 Jun 2019 19:32:17 -0400 Subject: [PATCH] Implemented Captivating Gyre --- .../src/mage/cards/c/CaptivatingGyre.java | 32 +++++++++++++++++++ Mage.Sets/src/mage/sets/CoreSet2020.java | 1 + 2 files changed, 33 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/c/CaptivatingGyre.java diff --git a/Mage.Sets/src/mage/cards/c/CaptivatingGyre.java b/Mage.Sets/src/mage/cards/c/CaptivatingGyre.java new file mode 100644 index 0000000000..aefe77a180 --- /dev/null +++ b/Mage.Sets/src/mage/cards/c/CaptivatingGyre.java @@ -0,0 +1,32 @@ +package mage.cards.c; + +import mage.abilities.effects.common.ReturnToHandTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.target.common.TargetCreaturePermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class CaptivatingGyre extends CardImpl { + + public CaptivatingGyre(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{U}{U}"); + + // Return up to three target creatures to their owners' hands. + this.getSpellAbility().addEffect(new ReturnToHandTargetEffect(true)); + this.getSpellAbility().addTarget(new TargetCreaturePermanent(0, 3)); + } + + private CaptivatingGyre(final CaptivatingGyre card) { + super(card); + } + + @Override + public CaptivatingGyre copy() { + return new CaptivatingGyre(this); + } +} diff --git a/Mage.Sets/src/mage/sets/CoreSet2020.java b/Mage.Sets/src/mage/sets/CoreSet2020.java index 1dd64293b0..d36d036f4c 100644 --- a/Mage.Sets/src/mage/sets/CoreSet2020.java +++ b/Mage.Sets/src/mage/sets/CoreSet2020.java @@ -31,6 +31,7 @@ public final class CoreSet2020 extends ExpansionSet { cards.add(new SetCardInfo("Atemsis, All-Seeing", 46, Rarity.RARE, mage.cards.a.AtemsisAllSeeing.class)); cards.add(new SetCardInfo("Barkhide Troll", 165, Rarity.UNCOMMON, mage.cards.b.BarkhideTroll.class)); cards.add(new SetCardInfo("Bone Splinters", 92, Rarity.COMMON, mage.cards.b.BoneSplinters.class)); + cards.add(new SetCardInfo("Captivating Gyre", 51, Rarity.UNCOMMON, mage.cards.c.CaptivatingGyre.class)); cards.add(new SetCardInfo("Chandra's Spitfire", 132, Rarity.UNCOMMON, mage.cards.c.ChandrasSpitfire.class)); cards.add(new SetCardInfo("Chandra, Acolyte of Flame", 126, Rarity.RARE, mage.cards.c.ChandraAcolyteOfFlame.class)); cards.add(new SetCardInfo("Chandra, Awakened Inferno", 127, Rarity.MYTHIC, mage.cards.c.ChandraAwakenedInferno.class));