* Lion's Eye Diamond - Fixed that it now only can be cast at the time an instant spell could be cast.

This commit is contained in:
LevelX2 2014-12-27 03:51:10 +01:00
parent c958a1af25
commit 8d8a2074f0
5 changed files with 40 additions and 2 deletions

View file

@ -604,8 +604,17 @@ public class HumanPlayer extends PlayerImpl {
return null;
}
@Override
public boolean playMana(ManaCost unpaid, Game game) {
payManaMode = true;
boolean result = playManaHandling(unpaid, game);
payManaMode = false;
return result;
}
protected boolean playManaHandling(ManaCost unpaid, Game game) {
updateGameStatePriority("playMana", game);
game.firePlayManaEvent(playerId, "Pay " + unpaid.getText());
waitForResponse(game);