From 2d958b929d243862e633fb4ac0e9815e1fd64c80 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 17 May 2024 19:50:44 -0500 Subject: [PATCH] noob island guard aggro --- src/engine/mobileAI/MobAI.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/mobileAI/MobAI.java b/src/engine/mobileAI/MobAI.java index 55ec0308..010957c0 100644 --- a/src/engine/mobileAI/MobAI.java +++ b/src/engine/mobileAI/MobAI.java @@ -973,7 +973,8 @@ public class MobAI { } private static void hamletGuardAggro(Mob mob) { - + City guardedCity = mob.guardedCity; + City atLocation = ZoneManager.getCityAtLocation(mob.loc); HashSet loadedPlayers = WorldGrid.getObjectsInRangePartial(mob.loc, MobAIThread.AI_BASE_AGGRO_RANGE, MBServerStatics.MASK_PLAYER); for (AbstractWorldObject awo : loadedPlayers) { PlayerCharacter pc = (PlayerCharacter) awo;