Core/Scripts: Added wrapper method for despawning creatures DespawnOrUnsummon
This commit is contained in:
@@ -243,7 +243,7 @@ class mob_tempest_minion : public CreatureScript
|
||||
if (overchargedAura->GetStackAmount() == 10)
|
||||
{
|
||||
DoCast(me, SPELL_OVERCHARGED_BLAST);
|
||||
me->ForcedDespawn();
|
||||
me->DespawnOrUnsummon();
|
||||
DoScriptText(EMOTE_MINION_RESPAWN, me);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -207,7 +207,7 @@ public:
|
||||
if (killTimer <= diff)
|
||||
{
|
||||
if (!UpdateVictim())
|
||||
me->ForcedDespawn();
|
||||
me->DespawnOrUnsummon();
|
||||
killTimer = 10000;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user