1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-07 17:00:08 -09:00

* Synod Sanctum - Fixed a problem of the move permanent to exile effect (fixes ).

This commit is contained in:
LevelX2 2016-11-06 22:14:37 +01:00
parent bfb2924966
commit dbbbbb5aec

View file

@ -112,12 +112,13 @@ class SynodSanctumEffect extends OneShotEffect {
Permanent permanent = game.getPermanent(getTargetPointer().getFirst(game, source));
if (permanent != null) {
UUID exileZone = CardUtil.getExileZoneId(game, source.getSourceId(), source.getSourceObjectZoneChangeCounter());
if (exileZone != null && controller.moveCardToExileWithInfo(permanent, exileZone, sourceObject.getIdName(), source.getId(), game, Zone.BATTLEFIELD, true)) {
if (exileZone != null) {
controller.moveCardToExileWithInfo(permanent, exileZone, sourceObject.getIdName(), source.getSourceId(), game, Zone.BATTLEFIELD, true);
}
}
}
return true;
}
}
}
}
return false;
}