From fa2caf8f8356883a79d35b8fbb3518aea9855f47 Mon Sep 17 00:00:00 2001 From: Noudess Date: Thu, 28 May 2020 13:30:34 -0400 Subject: [PATCH] Comment movement code and make target required in all cases again --- zone/mob_ai.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zone/mob_ai.cpp b/zone/mob_ai.cpp index bc3f71012..7d18fdb1a 100644 --- a/zone/mob_ai.cpp +++ b/zone/mob_ai.cpp @@ -1319,9 +1319,10 @@ void Mob::AI_Process() { FaceTarget(); } } - else if (AI_movement_timer->Check() && + // mob/npc waits until call for help complete, others can move + else if (AI_movement_timer->Check() && target && (IsPet() || IsMerc() || IsBot() || - (target && CastToNPC()->GetCombatEvent()))) { + CastToNPC()->GetCombatEvent())) { if (!IsRooted()) { LogAI("Pursuing [{}] while engaged", target->GetName()); RunTo(target->GetX(), target->GetY(), target->GetZ());