mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Added a little check to shouldCastLessThanMax.
This commit is contained in:
@@ -2050,7 +2050,9 @@ public class ComputerUtil {
|
||||
combat.initiatePossibleDefenders(AllZone.getComputerPlayer());
|
||||
CardList attackers = AllZoneUtil.getCreaturesInPlay(AllZone.getHumanPlayer());
|
||||
for (Card att : attackers) {
|
||||
combat.addAttacker(att);
|
||||
if (CombatUtil.canAttackNextTurn(att)) {
|
||||
combat.addAttacker(att);
|
||||
}
|
||||
}
|
||||
combat = ComputerUtilBlock.getBlockers(combat, AllZoneUtil.getCreaturesInPlay(AllZone.getComputerPlayer()));
|
||||
if (!CombatUtil.lifeInDanger(combat)) {
|
||||
|
||||
Reference in New Issue
Block a user