mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* ORI-Transform-Planeswalker - Fixed that a additional effect only happens if the planeswalker was actually exiled and returned from the effect (fixes #1123).
This commit is contained in:
parent
08cc5560c4
commit
130ec77df1
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ public class ExileAndReturnTransformedSourceEffect extends OneShotEffect {
|
|||
// Creature has to be on the battlefield to get exiled and be able to return transformed
|
||||
Permanent sourceObject = game.getPermanent(source.getSourceId());
|
||||
Player controller = game.getPlayer(source.getControllerId());
|
||||
if (sourceObject != null && controller != null) {
|
||||
if (sourceObject != null && controller != null && sourceObject.getZoneChangeCounter(game) == source.getSourceObjectZoneChangeCounter()) {
|
||||
Card card = (Card) sourceObject;
|
||||
if (controller.moveCards(card, Zone.BATTLEFIELD, Zone.EXILED, source, game)) {
|
||||
Player owner = game.getPlayer(card.getOwnerId());
|
||||
|
|
Loading…
Reference in a new issue