Repair aggro so CallsForHelp are completed before mob charges.

This commit is contained in:
Noudess
2020-05-20 16:08:42 -04:00
parent 3ebbcd84d4
commit 4e8764b6b9
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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());