mirror of
https://github.com/correl/mage.git
synced 2024-11-22 03:00:11 +00:00
fix some return from exile zone
This commit is contained in:
parent
e11d07457e
commit
380fea6720
2 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ class TouchTheSpiritRealmEffect extends OneShotEffect {
|
||||||
}
|
}
|
||||||
Card card = permanent.getMainCard();
|
Card card = permanent.getMainCard();
|
||||||
player.moveCardsToExile(permanent, source, game, true, CardUtil.getExileZoneId(game, source), CardUtil.getSourceName(game, source));
|
player.moveCardsToExile(permanent, source, game, true, CardUtil.getExileZoneId(game, source), CardUtil.getSourceName(game, source));
|
||||||
ReturnToBattlefieldUnderOwnerControlTargetEffect returnEffect = new ReturnToBattlefieldUnderOwnerControlTargetEffect(false, true);
|
ReturnToBattlefieldUnderOwnerControlTargetEffect returnEffect = new ReturnToBattlefieldUnderOwnerControlTargetEffect(false, false);
|
||||||
returnEffect.setTargetPointer(new FixedTarget(card,game));
|
returnEffect.setTargetPointer(new FixedTarget(card,game));
|
||||||
game.addDelayedTriggeredAbility(new AtTheBeginOfNextEndStepDelayedTriggeredAbility(returnEffect), source);
|
game.addDelayedTriggeredAbility(new AtTheBeginOfNextEndStepDelayedTriggeredAbility(returnEffect), source);
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -49,7 +49,7 @@ public class ExileReturnBattlefieldOwnerNextEndStepSourceEffect extends OneShotE
|
||||||
controller.moveCards(permanent, Zone.EXILED, source, game);
|
controller.moveCards(permanent, Zone.EXILED, source, game);
|
||||||
//create delayed triggered ability and return it from every public zone it was next moved to
|
//create delayed triggered ability and return it from every public zone it was next moved to
|
||||||
game.addDelayedTriggeredAbility(new AtTheBeginOfNextEndStepDelayedTriggeredAbility(
|
game.addDelayedTriggeredAbility(new AtTheBeginOfNextEndStepDelayedTriggeredAbility(
|
||||||
new ReturnToBattlefieldUnderOwnerControlTargetEffect(returnTapped, true)
|
new ReturnToBattlefieldUnderOwnerControlTargetEffect(returnTapped, false)
|
||||||
.setTargetPointer(new FixedTarget(permanent.getId(), game))
|
.setTargetPointer(new FixedTarget(permanent.getId(), game))
|
||||||
), source);
|
), source);
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue