From 761adca2efe1b76d21e93021b491d5bb3ee5f51c Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 30 Jun 2023 21:02:51 -0500 Subject: [PATCH] guards no longer recall when player aggro map is empty --- src/engine/ai/MobileFSM.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/ai/MobileFSM.java b/src/engine/ai/MobileFSM.java index b57d909b..34a357ee 100644 --- a/src/engine/ai/MobileFSM.java +++ b/src/engine/ai/MobileFSM.java @@ -521,7 +521,7 @@ public class MobileFSM { } if (mob.isPlayerGuard() && !mob.despawned) { City current = ZoneManager.getCityAtLocation(mob.getLoc()); - if (current == null || current.equals(mob.getGuild().getOwnedCity()) == false || mob.playerAgroMap.isEmpty()) { + if (current == null || current.equals(mob.getGuild().getOwnedCity()) == false) { PowersBase recall = PowersManager.getPowerByToken(-1994153779); PowersManager.useMobPower(mob, mob, recall, 40); mob.setCombatTarget(null);