mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 14:32:06 -08:00
AI: fixed that computer can't play commanders (#7955);
This commit is contained in:
parent
d0ee17d661
commit
62d6675be6
4 changed files with 40 additions and 8 deletions
|
|
@ -70,7 +70,9 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
|||
private long lastThinkTime = 0; // msecs for last AI actions calc
|
||||
|
||||
protected int PASSIVITY_PENALTY = 5; // Penalty value for doing nothing if some actions are available
|
||||
protected boolean ALLOW_INTERRUPT = true; // change this for test to false / debugging purposes to false to switch off interrupts while debugging
|
||||
|
||||
// debug only: set TRUE to debug simulation's code/games (on false sim thread will be stopped after few secs by timeout)
|
||||
protected boolean COMPUTER_DISABLE_TIMEOUT_IN_GAME_SIMULATIONS = false;
|
||||
|
||||
private transient Map<Mana, Card> unplayable = new TreeMap<>();
|
||||
private transient List<Card> playableNonInstant = new ArrayList<>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue