mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
* Release to the Wind - Fixed wrong card name Return to the Wind
This commit is contained in:
parent
eb7166aa2f
commit
daf95cda51
2 changed files with 19 additions and 20 deletions
|
@ -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
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue