refactor(Core): DespawnOrUnsummon (#23141)

This commit is contained in:
天鹭 2025-10-13 14:36:23 +08:00 committed by GitHub
parent 8e2e30328f
commit 53238a68d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
148 changed files with 363 additions and 366 deletions

View file

@ -410,7 +410,7 @@ void SmartAI::UpdatePath(const uint32 diff)
// Xinef: allow to properly hook out of range despawn action, which in most cases should perform the same operation as dying
GetScript()->ProcessEventsFor(SMART_EVENT_DEATH, me);
me->DespawnOrUnsummon(1);
me->DespawnOrUnsummon(1ms);
return;
}
mEscortInvokerCheckTimer = 1000;