mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Tweaked doAssault AI.
This commit is contained in:
@@ -359,7 +359,7 @@ public class ComputerUtilAttack {
|
|||||||
remainingAttackers.remove(blockableAttackers.get(i));
|
remainingAttackers.remove(blockableAttackers.get(i));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((CombatUtil.sumDamageIfUnblocked(remainingAttackers, human) > human.getLife())
|
if ((CombatUtil.sumDamageIfUnblocked(remainingAttackers, human) >= human.getLife())
|
||||||
&& AllZone.getHumanPlayer().canLoseLife()
|
&& AllZone.getHumanPlayer().canLoseLife()
|
||||||
&& !((human.cantLoseForZeroOrLessLife() || human.cantLose() || computer.cantWin()) && (human.getLife() < 1))) {
|
&& !((human.cantLoseForZeroOrLessLife() || human.cantLose() || computer.cantWin()) && (human.getLife() < 1))) {
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user