mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Fixed AI targeting with Great Oak Guardian.
This commit is contained in:
@@ -56,7 +56,13 @@ public class PumpAllAi extends PumpAiBase {
|
|||||||
if (tgt != null && sa.canTarget(opp) && sa.hasParam("IsCurse")) {
|
if (tgt != null && sa.canTarget(opp) && sa.hasParam("IsCurse")) {
|
||||||
sa.resetTargets();
|
sa.resetTargets();
|
||||||
sa.getTargets().add(opp);
|
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()) {
|
if (!game.getStack().isEmpty() && !sa.isCurse()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user