fix some return from exile zone

This commit is contained in:
xenohedron 2023-06-23 01:19:17 -04:00
parent e11d07457e
commit 380fea6720
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;