- The AI will no longer kill itself with Mogis, God of Slaughter.

This commit is contained in:
Sloth
2014-02-04 13:59:44 +00:00
parent b5e7de67a2
commit 8eaa535d6b
2 changed files with 5 additions and 1 deletions

View File

@@ -395,6 +395,10 @@ public class ComputerUtilCost {
if (payerCreatures > sourceCreatures + 1) {
return false;
}
} else if ("LifeLE2".equals(sa.getParam("UnlessAI"))) {
if (payer.getLife() < 3) {
return true;
}
}
// AI will only pay when it's not already payed and only opponents abilities