aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <krzysiek.7.5.4@gmail.com>2010-12-29 22:10:42 +0100
committerShauren <krzysiek.7.5.4@gmail.com>2010-12-29 22:10:42 +0100
commit51b46987c3d5bc14f67ea6370e759f6b0bfd61c3 (patch)
tree4d4e3883d7cef98f50e3dd3813a476fc67937035 /src
parent5f416993124ff0e84dfff0996f708b32206ec281 (diff)
Scripts/Trial of the Crusader: Despawn Snobold Vassals on Gormok death
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp
index 8b5d1b2c841..b2c08301332 100755
--- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp
+++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp
@@ -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)