From 955481773dec26dfd4081e5463987cd10247eeb5 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 9 Sep 2023 09:52:47 -0500 Subject: [PATCH] wall archer early exit for canCast --- src/engine/mobileAI/MobAI.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/mobileAI/MobAI.java b/src/engine/mobileAI/MobAI.java index adc324ad..d27cb6fe 100644 --- a/src/engine/mobileAI/MobAI.java +++ b/src/engine/mobileAI/MobAI.java @@ -323,6 +323,8 @@ public class MobAI { if (mob.isPlayerGuard() == true) { + if(mob.agentType.equals(Enum.AIAgentType.GUARDWALLARCHER)) + return false; //wall archers don't cast if (mob.agentType.equals(Enum.AIAgentType.GUARDMINION)) contractID = mob.guardCaptain.contract.getContractID(); else