mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-10 19:20:32 +00:00
refactor(Core): DespawnOrUnsummon (#23141)
This commit is contained in:
@@ -80,7 +80,7 @@ struct npc_frost_tomb : public NullCreatureAI
|
||||
if (PrisonerGUID)
|
||||
if (Unit* p = ObjectAccessor::GetUnit(*me, PrisonerGUID))
|
||||
p->RemoveAurasDueToSpell(SPELL_FROST_TOMB_AURA);
|
||||
me->DespawnOrUnsummon(5000);
|
||||
me->DespawnOrUnsummon(5s);
|
||||
}
|
||||
|
||||
void UpdateAI(uint32 /*diff*/) override
|
||||
|
||||
Reference in New Issue
Block a user