|
|
@ -266,6 +266,7 @@ public class MobAI { |
|
|
|
|
|
|
|
|
|
|
|
//guards inherit barracks patrol points dynamically
|
|
|
|
//guards inherit barracks patrol points dynamically
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (mob.patrolPoints == null || mob.patrolPoints.isEmpty()) |
|
|
|
if (mob.agentType.equals(Enum.AIAgentType.GUARDCAPTAIN) || mob.agentType.equals(Enum.AIAgentType.GUARDMINION)) { |
|
|
|
if (mob.agentType.equals(Enum.AIAgentType.GUARDCAPTAIN) || mob.agentType.equals(Enum.AIAgentType.GUARDMINION)) { |
|
|
|
|
|
|
|
|
|
|
|
Building barracks = mob.building; |
|
|
|
Building barracks = mob.building; |
|
|
|