mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- Added a little check to shouldCastLessThanMax.
This commit is contained in:
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user