Excess damage fix

This commit is contained in:
TRT
2022-02-17 14:16:36 +01:00
parent fab0fc08da
commit 98b6f33d18
3 changed files with 21 additions and 10 deletions

View File

@@ -181,7 +181,7 @@ public class CharmAi extends SpellAbilityAi {
} else if (ai.canGainLife() && aiLife <= 5) {
// critical Life try to gain more
chosenList.add(gain);
} else if (!ai.canGainLife() && aiLife == 14 ) {
} else if (!ai.canGainLife() && aiLife == 14) {
// ai cant gain life, but try to avoid falling to 13
// but if a opponent does control Tainted Remedy its irrelevant
chosenList.add(oppTainted ? lose : gain);