Scripts/Trial of the Crusader: Despawn Snobold Vassals on Gormok death

This commit is contained in:
Shauren committed 2010-12-29 22:10:42 +01:00
1 parent 5f41699312
commit 51b46987c3
1 file changed
+3
@@ -153,6 +153,8 @@ public:
{
if (m_pInstance)
m_pInstance->SetData(TYPE_NORTHREND_BEASTS, GORMOK_DONE);
Summons.DespawnAll();
}
void JustReachedHome()
@@ -188,6 +190,7 @@ public:
if (summon->GetEntry() == NPC_SNOBOLD_VASSAL)
if (summon->isAlive())
++m_uiSummonCount;
Summons.Despawn(summon);
}
void UpdateAI(const uint32 uiDiff)