summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUltraNix <80540499+UltraNix@users.noreply.github.com>2022-10-27 10:24:52 +0200
committerGitHub <noreply@github.com>2022-10-27 05:24:52 -0300
commit9d93a7e4d936e60b1c515c63f3d77da3725c8faf (patch)
tree2610eec0e482ba1e29d342ad053c45935437b891
parent93796bb01d8062ca490fb83604357e247c9d8200 (diff)
fix(Scripts/TempleofAhnQiraj): Cthun Grasps should despawn on Cthun… (#13503)
fix(Scripts/Temple of AhnQiraj): Cthun Grasps should despawn on Cthun death. Fixes #13443
-rw-r--r--src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp
index 77d4d4d858..e5e6fab05c 100644
--- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp
+++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp
@@ -545,6 +545,8 @@ struct boss_cthun : public BossAI
{
eye->DespawnOrUnsummon();
}
+
+ instance->SetData(DATA_CTHUN_PHASE, PHASE_CTHUN_DONE);
}
void SummonedCreatureDies(Creature* creature, Unit* /*killer*/) override