* 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

@ -1007,9 +1007,16 @@ public class ComputerPlayer extends PlayerImpl implements Player {
log.debug("findPlayables: " + playableInstant.toString() + "---" + playableNonInstant.toString() + "---" + playableAbilities.toString() );
}
}
@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) {
// log.info("paying for " + unpaid.getText());
ManaCost cost;
List<Permanent> producers;