- Fixed AI targeting with Great Oak Guardian.

This commit is contained in:
Sloth
2016-08-30 20:48:13 +00:00
parent 1948d88f0d
commit 3a0106bdc0

View File

@@ -56,7 +56,13 @@ public class PumpAllAi extends PumpAiBase {
if (tgt != null && sa.canTarget(opp) && sa.hasParam("IsCurse")) {
sa.resetTargets();
sa.getTargets().add(opp);
comp.clear();
return true;
}
if (tgt != null && sa.canTarget(ai) && !sa.hasParam("IsCurse")) {
sa.resetTargets();
sa.getTargets().add(ai);
return true;
}
if (!game.getStack().isEmpty() && !sa.isCurse()) {