mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Fixed AI attack hangup if all possible attackers would deal no damage.
This commit is contained in:
@@ -213,6 +213,8 @@ public class ComputerUtil_Attack2 {
|
||||
return (0 < AllZone.HumanPlayer.predictDamage(c.getNetCombatDamage(),c,true) || c.getName().equals("Guiltfeeder"));
|
||||
}
|
||||
});
|
||||
|
||||
if (attackersLeft.isEmpty()) return combat;
|
||||
|
||||
// *******************
|
||||
// start of edits
|
||||
|
||||
Reference in New Issue
Block a user