Browse Source

Breakpoint set

debug-guards
MagicBot 3 days ago
parent
commit
ffae01955b
  1. 6
      src/engine/objects/Mob.java

6
src/engine/objects/Mob.java

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

Loading…
Cancel
Save