|
|
@ -939,16 +939,16 @@ public class MobAI { |
|
|
|
|
|
|
|
|
|
|
|
//dont scan self.
|
|
|
|
//dont scan self.
|
|
|
|
|
|
|
|
|
|
|
|
if (mob.equals(awoMob) || (mob.agentType.equals(Enum.AIAgentType.GUARDCAPTAIN)) == true) |
|
|
|
if (mob.equals(awoMob)) |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
|
|
Mob aggroMob = (Mob) awoMob; |
|
|
|
Mob aggroMob = (Mob) awoMob; |
|
|
|
|
|
|
|
|
|
|
|
//don't attack other guards
|
|
|
|
//don't attack other guards
|
|
|
|
|
|
|
|
if (aggroMob.isGuard() == true) |
|
|
|
if ((aggroMob.agentType.equals(Enum.AIAgentType.GUARDCAPTAIN))) |
|
|
|
|
|
|
|
continue; |
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//don't attack pets
|
|
|
|
if (aggroMob.agentType.equals(Enum.AIAgentType.PET)) |
|
|
|
if (aggroMob.agentType.equals(Enum.AIAgentType.PET)) |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
|
|