From 572a4325d832756dced4d47227448595ae70ad89 Mon Sep 17 00:00:00 2001 From: Angelo Venturini Date: Sun, 16 Oct 2022 23:53:45 -0300 Subject: [PATCH] fix(Scripts/TempleOfAhnQiraj): C'Thun pull range (#13438) --- src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp index ce8d29ef4..d8740a99c 100644 --- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp +++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp @@ -151,6 +151,7 @@ struct boss_eye_of_cthun : public BossAI boss_eye_of_cthun(Creature* creature) : BossAI(creature, DATA_CTHUN) { SetCombatMovement(false); + me->m_SightDistance = 90.f; } void Reset() override @@ -199,7 +200,7 @@ struct boss_eye_of_cthun : public BossAI if (who->GetTypeId() == TYPEID_PLAYER && !me->IsInCombat()) { // Z checks are necessary here because AQ maps do funky stuff. - if (me->IsWithinLOSInMap(who) && me->IsWithinDist2d(who, 50.0f) && who->GetPositionZ() > 100.0f) + if (me->IsWithinLOSInMap(who) && me->IsWithinDist2d(who, 90.0f) && who->GetPositionZ() > 100.0f) { AttackStart(who); }