wall archer early exit for canCast

This commit is contained in:
FatBoy committed 2023-09-09 09:52:47 -05:00
1 parent d66a7049e8
commit 955481773d
1 file changed
+2
+2
View File
@@ -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