refactor(Core): AddEventAtOffset (#23140)

This commit is contained in:
天鹭 2025-10-17 12:09:57 +08:00 committed by GitHub
parent 762f5a7158
commit 058f7acac6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47 changed files with 141 additions and 139 deletions

View file

@ -138,7 +138,7 @@ struct npc_pet_mage_mirror_image : CasterAI
newAura->SetDuration(visAura->GetDuration());
}
me->m_Events.AddEvent(new DeathEvent(*me), me->m_Events.CalculateTime(29500));
me->m_Events.AddEventAtOffset(new DeathEvent(*me), 29500ms);
}
// Do not reload Creature templates on evade mode enter - prevent visual lost