|
|
|
@ -973,7 +973,8 @@ public class MobAI {
@@ -973,7 +973,8 @@ public class MobAI {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private static void hamletGuardAggro(Mob mob) { |
|
|
|
|
|
|
|
|
|
City guardedCity = mob.guardedCity; |
|
|
|
|
City atLocation = ZoneManager.getCityAtLocation(mob.loc); |
|
|
|
|
HashSet<AbstractWorldObject> loadedPlayers = WorldGrid.getObjectsInRangePartial(mob.loc, MobAIThread.AI_BASE_AGGRO_RANGE, MBServerStatics.MASK_PLAYER); |
|
|
|
|
for (AbstractWorldObject awo : loadedPlayers) { |
|
|
|
|
PlayerCharacter pc = (PlayerCharacter) awo; |
|
|
|
|