Added message to game log if a player redirects damage to a planeswalker.

This commit is contained in:
LevelX2 2014-04-17 16:37:28 +02:00
parent 967cb8c1b5
commit 92ecc766e9
2 changed files with 6 additions and 1 deletions

View file

@ -82,6 +82,10 @@ public class PlaneswalkerRedirectionEffect extends RedirectionEffect<Planeswalke
else {
player.choose(Outcome.Damage, redirectTarget, null, game);
}
game.informPlayers(new StringBuilder(player.getName()).append(" redirects ")
.append(event.getAmount())
.append(" damage to ")
.append(game.getPermanent(redirectTarget.getFirstTarget()).getName()).toString());
return true;
}
}

View file

@ -53,8 +53,9 @@ public class DeclareBlockersStep extends Step<DeclareBlockersStep> {
@Override
public boolean skipStep(Game game, UUID activePlayerId) {
if (game.getCombat().noAttackers())
if (game.getCombat().noAttackers()) {
return true;
}
return super.skipStep(game, activePlayerId);
}