|
|
|
@ -1691,15 +1691,6 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -1691,15 +1691,6 @@ public class Mob extends AbstractIntelligenceAgent {
|
|
|
|
|
if (this.agentType.equals(AIAgentType.MOBILE)) |
|
|
|
|
NPCManager.AssignPatrolPoints(this); |
|
|
|
|
|
|
|
|
|
if (this.agentType.equals(Enum.AIAgentType.GUARDCAPTAIN)) { |
|
|
|
|
|
|
|
|
|
Building barracks = this.building; |
|
|
|
|
|
|
|
|
|
if (barracks != null && barracks.patrolPoints != null && !barracks.getPatrolPoints().isEmpty()) { |
|
|
|
|
this.patrolPoints = barracks.patrolPoints; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.deathTime = 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|