mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 11:48:37 +00:00
Repair aggro so CallsForHelp are completed before mob charges.
This commit is contained in:
+1
-1
@@ -1319,7 +1319,7 @@ void Mob::AI_Process() {
|
||||
FaceTarget();
|
||||
}
|
||||
}
|
||||
else if (AI_movement_timer->Check() && target) {
|
||||
else if (AI_movement_timer->Check() && target && CastToNPC()->GetCombatEvent()) {
|
||||
if (!IsRooted()) {
|
||||
LogAI("Pursuing [{}] while engaged", target->GetName());
|
||||
RunTo(target->GetX(), target->GetY(), target->GetZ());
|
||||
|
||||
Reference in New Issue
Block a user