update simulators

This commit is contained in:
htrajan 2020-04-16 20:14:43 -07:00
parent 5a1b40a42f
commit 51dcaa1725
4 changed files with 31 additions and 20 deletions

View file

@ -2434,7 +2434,7 @@ public class ComputerPlayer extends PlayerImpl implements Player {
simulations = new TreeNode<>(combat);
addBlockSimulations(blockers, simulations, game);
combat.simulate();
combat.simulate(game);
return getWorstSimulation(simulations);
@ -2452,7 +2452,7 @@ public class ComputerPlayer extends PlayerImpl implements Player {
TreeNode<CombatSimulator> child = new TreeNode<>(combat);
node.addChild(child);
addBlockSimulations(subList, child, game);
combat.simulate();
combat.simulate(game);
}
}
}