* Release to the Wind - Fixed that it doesn't let you cast the cards it exiles (fixes #6758).

This commit is contained in:
LevelX2 2020-07-03 14:54:08 +02:00
parent d4711b78d4
commit e937999b96
2 changed files with 5 additions and 4 deletions

View file

@ -3,13 +3,10 @@ package mage.cards.r;
import java.util.UUID;
import mage.abilities.Ability;
import mage.abilities.effects.AsThoughEffectImpl;
import mage.abilities.effects.OneShotEffect;
import mage.abilities.effects.common.asthought.PlayFromNotOwnHandZoneTargetEffect;
import mage.cards.Card;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.AsThoughEffectType;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.Outcome;
@ -18,7 +15,6 @@ import mage.game.Game;
import mage.game.permanent.Permanent;
import mage.players.Player;
import mage.target.common.TargetNonlandPermanent;
import mage.target.targetpointer.FixedTarget;
/**
*

View file

@ -93,6 +93,11 @@ public class PlayFromNotOwnHandZoneTargetEffect extends AsThoughEffectImpl {
return false;
}
break;
case OWNER:
if (playerId != game.getCard(objectId).getOwnerId()) {
return false;
}
break;
case ANY:
break;
}