mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
* Release to the Wind - Fixed that it doesn't let you cast the cards it exiles (fixes #6758).
This commit is contained in:
parent
d4711b78d4
commit
e937999b96
2 changed files with 5 additions and 4 deletions
|
@ -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;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue