|
|
|
@ -1125,6 +1125,9 @@ public class Mob extends AbstractIntelligenceAgent implements Delayed { |
|
|
|
|
|
|
|
|
|
|
|
// Configure AI related values
|
|
|
|
// Configure AI related values
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.objectUUID == 889440) |
|
|
|
|
|
|
|
this.building = BuildingManager.getBuilding(this.buildingUUID); |
|
|
|
|
|
|
|
|
|
|
|
switch (this.behaviourType) { |
|
|
|
switch (this.behaviourType) { |
|
|
|
case GuardCaptain: |
|
|
|
case GuardCaptain: |
|
|
|
this.agentType = AIAgentType.GUARDCAPTAIN; |
|
|
|
this.agentType = AIAgentType.GUARDCAPTAIN; |
|
|
|
@ -1226,9 +1229,6 @@ public class Mob extends AbstractIntelligenceAgent implements Delayed { |
|
|
|
// with the exceptions being mobiles
|
|
|
|
// with the exceptions being mobiles
|
|
|
|
// with a contract.
|
|
|
|
// with a contract.
|
|
|
|
|
|
|
|
|
|
|
|
if (this.objectUUID == 889440) |
|
|
|
|
|
|
|
this.bindLoc = building.getLoc().add(bindLoc); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.contract != null || this.behaviourType.equals(MobBehaviourType.SiegeEngine)) |
|
|
|
if (this.contract != null || this.behaviourType.equals(MobBehaviourType.SiegeEngine)) |
|
|
|
NPCManager.slotCharacterInBuilding(this); |
|
|
|
NPCManager.slotCharacterInBuilding(this); |
|
|
|
else |
|
|
|
else |
|
|
|
|