mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
fix(Scripts/CoS): despawn Arthas summons on death (#26731)
This commit is contained in:
@@ -409,6 +409,7 @@ public:
|
|||||||
|
|
||||||
void JustDied(Unit*) override
|
void JustDied(Unit*) override
|
||||||
{
|
{
|
||||||
|
summons.DespawnAll();
|
||||||
RemoveEscortState(STATE_ESCORT_ESCORTING);
|
RemoveEscortState(STATE_ESCORT_ESCORTING);
|
||||||
if (pInstance)
|
if (pInstance)
|
||||||
pInstance->SetData(DATA_ARTHAS_REPOSITION, 2);
|
pInstance->SetData(DATA_ARTHAS_REPOSITION, 2);
|
||||||
|
|||||||
Reference in New Issue
Block a user