From daf95cda51804afd7fe757e2dd09626af53be02d Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Mon, 8 Jan 2018 10:14:00 +0400 Subject: [PATCH] * Release to the Wind - Fixed wrong card name Return to the Wind --- ...rnToTheWind.java => ReleaseToTheWind.java} | 34 +++++++++---------- Mage.Sets/src/mage/sets/RivalsOfIxalan.java | 5 ++- 2 files changed, 19 insertions(+), 20 deletions(-) rename Mage.Sets/src/mage/cards/r/{ReturnToTheWind.java => ReleaseToTheWind.java} (82%) diff --git a/Mage.Sets/src/mage/cards/r/ReturnToTheWind.java b/Mage.Sets/src/mage/cards/r/ReleaseToTheWind.java similarity index 82% rename from Mage.Sets/src/mage/cards/r/ReturnToTheWind.java rename to Mage.Sets/src/mage/cards/r/ReleaseToTheWind.java index e17f2e5a8d..858c917cd9 100644 --- a/Mage.Sets/src/mage/cards/r/ReturnToTheWind.java +++ b/Mage.Sets/src/mage/cards/r/ReleaseToTheWind.java @@ -50,41 +50,41 @@ import mage.target.targetpointer.FixedTarget; * * @author LevelX2 */ -public class ReturnToTheWind extends CardImpl { +public class ReleaseToTheWind extends CardImpl { - public ReturnToTheWind(UUID ownerId, CardSetInfo setInfo) { + public ReleaseToTheWind(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{U}"); // Exile target nonland permanent. For as long as that card remains exiled, its owner may cast it without paying its mana cost. - getSpellAbility().addEffect(new ReturnToTheWindEffect()); + getSpellAbility().addEffect(new ReleaseToTheWindEffect()); getSpellAbility().addTarget(new TargetNonlandPermanent()); } - public ReturnToTheWind(final ReturnToTheWind card) { + public ReleaseToTheWind(final ReleaseToTheWind card) { super(card); } @Override - public ReturnToTheWind copy() { - return new ReturnToTheWind(this); + public ReleaseToTheWind copy() { + return new ReleaseToTheWind(this); } } -class ReturnToTheWindEffect extends OneShotEffect { +class ReleaseToTheWindEffect extends OneShotEffect { - public ReturnToTheWindEffect() { + public ReleaseToTheWindEffect() { super(Outcome.Benefit); this.staticText = "Exile target nonland permanent. For as long as that card remains exiled, its owner may cast it without paying its mana cost"; } - public ReturnToTheWindEffect(final ReturnToTheWindEffect effect) { + public ReleaseToTheWindEffect(final ReleaseToTheWindEffect effect) { super(effect); } @Override - public ReturnToTheWindEffect copy() { - return new ReturnToTheWindEffect(this); + public ReleaseToTheWindEffect copy() { + return new ReleaseToTheWindEffect(this); } @Override @@ -96,7 +96,7 @@ class ReturnToTheWindEffect extends OneShotEffect { if (controller.moveCards(targetPermanent, Zone.EXILED, source, game)) { Card card = game.getCard(targetPermanent.getId()); if (card != null) { - ContinuousEffect effect = new ReturnToTheWindEffectCastFromExileEffect(); + ContinuousEffect effect = new ReleaseToTheWindEffectCastFromExileEffect(); effect.setTargetPointer(new FixedTarget(card.getId(), card.getZoneChangeCounter(game))); game.addEffect(effect, source); } @@ -108,14 +108,14 @@ class ReturnToTheWindEffect extends OneShotEffect { } } -class ReturnToTheWindEffectCastFromExileEffect extends AsThoughEffectImpl { +class ReleaseToTheWindEffectCastFromExileEffect extends AsThoughEffectImpl { - public ReturnToTheWindEffectCastFromExileEffect() { + public ReleaseToTheWindEffectCastFromExileEffect() { super(AsThoughEffectType.PLAY_FROM_NOT_OWN_HAND_ZONE, Duration.Custom, Outcome.Benefit); staticText = "For as long as that card remains exiled, its owner may cast it without paying its mana cost"; } - public ReturnToTheWindEffectCastFromExileEffect(final ReturnToTheWindEffectCastFromExileEffect effect) { + public ReleaseToTheWindEffectCastFromExileEffect(final ReleaseToTheWindEffectCastFromExileEffect effect) { super(effect); } @@ -125,8 +125,8 @@ class ReturnToTheWindEffectCastFromExileEffect extends AsThoughEffectImpl { } @Override - public ReturnToTheWindEffectCastFromExileEffect copy() { - return new ReturnToTheWindEffectCastFromExileEffect(this); + public ReleaseToTheWindEffectCastFromExileEffect copy() { + return new ReleaseToTheWindEffectCastFromExileEffect(this); } @Override diff --git a/Mage.Sets/src/mage/sets/RivalsOfIxalan.java b/Mage.Sets/src/mage/sets/RivalsOfIxalan.java index fc3640ab25..5e9cfaad8d 100644 --- a/Mage.Sets/src/mage/sets/RivalsOfIxalan.java +++ b/Mage.Sets/src/mage/sets/RivalsOfIxalan.java @@ -28,7 +28,6 @@ package mage.sets; import mage.cards.ExpansionSet; -import mage.cards.o.OrazcaFrillback; import mage.constants.Rarity; import mage.constants.SetType; @@ -174,7 +173,7 @@ public class RivalsOfIxalan extends ExpansionSet { cards.add(new SetCardInfo("Negate", 44, Rarity.COMMON, mage.cards.n.Negate.class)); cards.add(new SetCardInfo("Nezahal, Primal Tide", 45, Rarity.RARE, mage.cards.n.NezahalPrimalTide.class)); cards.add(new SetCardInfo("Oathsworn Vampire", 80, Rarity.UNCOMMON, mage.cards.o.OathswornVampire.class)); - cards.add(new SetCardInfo("Orazca Frillback", 140, Rarity.COMMON, OrazcaFrillback.class)); + cards.add(new SetCardInfo("Orazca Frillback", 140, Rarity.COMMON, mage.cards.o.OrazcaFrillback.class)); cards.add(new SetCardInfo("Orazca Raptor", 108, Rarity.COMMON, mage.cards.o.OrazcaRaptor.class)); cards.add(new SetCardInfo("Orazca Relic", 181, Rarity.COMMON, mage.cards.o.OrazcaRelic.class)); cards.add(new SetCardInfo("Overgrown Armasaur", 141, Rarity.COMMON, mage.cards.o.OvergrownArmasaur.class)); @@ -199,7 +198,7 @@ public class RivalsOfIxalan extends ExpansionSet { cards.add(new SetCardInfo("Rekindling Phoenix", 111, Rarity.MYTHIC, mage.cards.r.RekindlingPhoenix.class)); cards.add(new SetCardInfo("Relentless Raptor", 169, Rarity.UNCOMMON, mage.cards.r.RelentlessRaptor.class)); cards.add(new SetCardInfo("Resplendent Griffin", 170, Rarity.UNCOMMON, mage.cards.r.ResplendentGriffin.class)); - cards.add(new SetCardInfo("Return to the Wind", 46, Rarity.RARE, mage.cards.r.ReturnToTheWind.class)); + cards.add(new SetCardInfo("Release to the Wind", 46, Rarity.RARE, mage.cards.r.ReleaseToTheWind.class)); cards.add(new SetCardInfo("River Darter", 47, Rarity.COMMON, mage.cards.r.RiverDarter.class)); cards.add(new SetCardInfo("Riverwise Augur", 48, Rarity.UNCOMMON, mage.cards.r.RiverwiseAugur.class)); cards.add(new SetCardInfo("Sadistic Skymarcher", 85, Rarity.UNCOMMON, mage.cards.s.SadisticSkymarcher.class));