mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Try to detect cases where the actual damage to planeswalkers will be zero after prevention.
This commit is contained in:
@@ -916,7 +916,7 @@ public class AiBlockController {
|
||||
damageToPW += ComputerUtilCombat.predictDamageTo((Card)def, pwatkr.getNetCombatDamage(), pwatkr, true);
|
||||
}
|
||||
}
|
||||
if (!onlyIfLethal || damageToPW >= ((Card)def).getCounters(CounterType.LOYALTY)) {
|
||||
if ((!onlyIfLethal && damageToPW > 0) || damageToPW >= ((Card)def).getCounters(CounterType.LOYALTY)) {
|
||||
threatenedPWs.add((Card)def);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user