* Fix that commander replacement effects work again, some cleanup after the changes of continuous effects and triggered abilities.

This commit is contained in:
LevelX2 2014-12-25 03:08:37 +01:00
parent eb0544957b
commit 883021832e

View file

@ -88,6 +88,7 @@ public class CommanderReplacementEffect extends ReplacementEffectImpl {
Player player = game.getPlayer(permanent.getOwnerId());
if (player != null && player.chooseUse(Outcome.Benefit, "Move commander to command zone?", game)){
boolean result = permanent.moveToZone(Zone.COMMAND, source.getSourceId(), game, false);
game.informPlayers(player.getName() + " has moved his or her commander to the command zone");
return result;
}
}
@ -105,8 +106,9 @@ public class CommanderReplacementEffect extends ReplacementEffectImpl {
if (card != null) {
Player player = game.getPlayer(card.getOwnerId());
if (player != null && player.chooseUse(Outcome.Benefit, "Move commander to command zone?", game)){
game.informPlayers(player.getName() + " moved his commander to the command zone instead");
return card.moveToZone(Zone.COMMAND, source.getSourceId(), game, false);
boolean result = card.moveToZone(Zone.COMMAND, source.getSourceId(), game, false);
game.informPlayers(player.getName() + " has moved his or her commander to the command zone");
return result;
}
}
}