guard minion logic work

This commit is contained in:
2023-04-30 14:55:12 -05:00
parent 0bc41323b1
commit e52b8e894b
2 changed files with 10 additions and 8 deletions
+1 -2
View File
@@ -1285,7 +1285,6 @@ public class Mob extends AbstractIntelligenceAgent {
public void respawn() {
//Commenting out Mob ID rotation.
this.despawned = false;
this.playerAgroMap.clear();
this.setCombatTarget(null);
@@ -1304,7 +1303,7 @@ public class Mob extends AbstractIntelligenceAgent {
this.recalculateStats();
this.setHealth(this.healthMax);
this.region = BuildingManager.GetRegion(this.building, bindLoc.x, bindLoc.y, bindLoc.z);
if (!this.isSiege && !this.isPlayerGuard && contract == null) loadInventory();
}