- Added a little check to shouldCastLessThanMax.

This commit is contained in:
Sloth
2012-07-05 10:27:39 +00:00
parent 457559b821
commit 6c76d7117e

View File

@@ -2050,7 +2050,9 @@ public class ComputerUtil {
combat.initiatePossibleDefenders(AllZone.getComputerPlayer()); combat.initiatePossibleDefenders(AllZone.getComputerPlayer());
CardList attackers = AllZoneUtil.getCreaturesInPlay(AllZone.getHumanPlayer()); CardList attackers = AllZoneUtil.getCreaturesInPlay(AllZone.getHumanPlayer());
for (Card att : attackers) { for (Card att : attackers) {
combat.addAttacker(att); if (CombatUtil.canAttackNextTurn(att)) {
combat.addAttacker(att);
}
} }
combat = ComputerUtilBlock.getBlockers(combat, AllZoneUtil.getCreaturesInPlay(AllZone.getComputerPlayer())); combat = ComputerUtilBlock.getBlockers(combat, AllZoneUtil.getCreaturesInPlay(AllZone.getComputerPlayer()));
if (!CombatUtil.lifeInDanger(combat)) { if (!CombatUtil.lifeInDanger(combat)) {