diff --git a/src/engine/ai/MobileFSM.java b/src/engine/ai/MobileFSM.java index 96d074b0..af88ac78 100644 --- a/src/engine/ai/MobileFSM.java +++ b/src/engine/ai/MobileFSM.java @@ -486,6 +486,9 @@ public class MobileFSM { AttackTarget(mob, mob.getCombatTarget()); } private static void CheckToSendMobHome(Mob mob) { + if(CombatUtilities.inRangeToAttack(mob, mob.getCombatTarget()) == true){ + return; + } if (mob.isPlayerGuard() && !mob.despawned) { City current = ZoneManager.getCityAtLocation(mob.getLoc()); if (current == null || current.equals(mob.getGuild().getOwnedCity()) == false || mob.playerAgroMap.isEmpty()) {