mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-17 06:25:11 +00:00
refactor(Core): DespawnOrUnsummon (#23141)
This commit is contained in:
@@ -155,7 +155,7 @@ struct boss_nazan : public ScriptedAI
|
||||
|
||||
void EnterEvadeMode(EvadeReason /*why*/) override
|
||||
{
|
||||
me->DespawnOrUnsummon(1);
|
||||
me->DespawnOrUnsummon(1ms);
|
||||
}
|
||||
|
||||
void JustEngagedWith(Unit*) override
|
||||
@@ -262,7 +262,7 @@ struct boss_vazruden : public ScriptedAI
|
||||
void EnterEvadeMode(EvadeReason /*why*/) override
|
||||
{
|
||||
Talk(SAY_WIPE);
|
||||
me->DespawnOrUnsummon(1);
|
||||
me->DespawnOrUnsummon(1ms);
|
||||
}
|
||||
|
||||
void JustEngagedWith(Unit*) override
|
||||
|
||||
@@ -284,7 +284,7 @@ struct npc_target_trigger : public ScriptedAI
|
||||
_scheduler.Schedule(5s, [this](TaskContext /*context*/)
|
||||
{
|
||||
DoCastSelf(SPELL_DEBRIS_DAMAGE);
|
||||
me->DespawnOrUnsummon(6000);
|
||||
me->DespawnOrUnsummon(6s);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user