guards get Mob.guardedCity assigned to

This commit is contained in:
2023-05-18 19:59:39 -05:00
parent 932daa730a
commit 9b5573c210
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -310,6 +310,7 @@ public class MobileFSM {
return;
else{
if(mob.isPlayerGuard && mob.guardedCity._playerMemory.size() < 1 && mob.playerAgroMap.isEmpty())
//guards use aggro map and players in their local city zone
return;
}
if (mob.despawned && mob.isPlayerGuard) {