|
|
@ -323,6 +323,8 @@ public class MobAI { |
|
|
|
|
|
|
|
|
|
|
|
if (mob.isPlayerGuard() == true) { |
|
|
|
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)) |
|
|
|
if (mob.agentType.equals(Enum.AIAgentType.GUARDMINION)) |
|
|
|
contractID = mob.guardCaptain.contract.getContractID(); |
|
|
|
contractID = mob.guardCaptain.contract.getContractID(); |
|
|
|
else |
|
|
|
else |
|
|
|