Browse Source

wall archer early exit for canCast

feature-workorder
FatBoy-DOTC 1 year ago
parent
commit
955481773d
  1. 2
      src/engine/mobileAI/MobAI.java

2
src/engine/mobileAI/MobAI.java

@ -323,6 +323,8 @@ public class MobAI { @@ -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

Loading…
Cancel
Save