diff --git a/sql/AQ/CThun.sql b/sql/AQ/CThun.sql index 128aa312d..65622b423 100644 --- a/sql/AQ/CThun.sql +++ b/sql/AQ/CThun.sql @@ -84,3 +84,6 @@ UPDATE creature_template SET flags_extra = flags_extra & ~512 WHERE entry = 1572 -- Taunt-immunity for both c'thuns body and the eye. Fixes eye being able to turn during dark glare UPDATE creature_template SET flags_extra = flags_extra | 256 where entry in (15589, 15727); + +-- Fix mechanic immunities for adds +UPDATE creature_template SET MechanicImmuneMask = MechanicImmuneMask | (2 | 16 | 4096 | 512) WHERE entry IN (15728, 15334, 15725, 15726, 15802); \ No newline at end of file diff --git a/src/scripts/kalimdor/silithus/temple_of_ahnqiraj/boss_cthun.cpp b/src/scripts/kalimdor/silithus/temple_of_ahnqiraj/boss_cthun.cpp index 5d227ec17..4a85e9f5e 100644 --- a/src/scripts/kalimdor/silithus/temple_of_ahnqiraj/boss_cthun.cpp +++ b/src/scripts/kalimdor/silithus/temple_of_ahnqiraj/boss_cthun.cpp @@ -280,7 +280,7 @@ static constexpr int32 MAX_INITIAL_PULLER_HITS = 3; // How many tim // puller with green beam before random target. static constexpr int32 P1_GREEN_BEAM_COOLDOWN = 3000; // Green beam has a 2 sec cast time. If this number is > 2000, // the cooldown will be P1_GREEN_BEAM_COOLDOWN - 2000 -static const uint32 clawTentacleSpanCooldownFunc() { return urand(6000, 12000); } +static const uint32 P1_CLAW_TENTACLE_RESPAWN_TIMER = 5000; // checked against old footage & current fight // ======================================================= // ================= TRANSITION CONSTANTS ================ @@ -1328,7 +1328,7 @@ struct cthunAI : public ScriptedAI return; cthunEmergeTimer = CTHUN_EMERGE_ANIM_DURATION; - clawTentacleTimer_p1 = clawTentacleSpanCooldownFunc(); + clawTentacleTimer_p1 = P1_CLAW_TENTACLE_RESPAWN_TIMER; eyeTentacleTimer_p1 = P1_EYE_TENTACLE_RESPAWN_TIMER; ResetartUnvulnerablePhase(false); @@ -1608,7 +1608,7 @@ struct cthunAI : public ScriptedAI void UpdateTentaclesP1(uint32 diff) { if (SpawnTentacleIfReady(diff, clawTentacleTimer_p1, 0, MOB_CLAW_TENTACLE)) { - clawTentacleTimer_p1 = clawTentacleSpanCooldownFunc(); + clawTentacleTimer_p1 = P1_CLAW_TENTACLE_RESPAWN_TIMER; } if (eyeTentacleTimer_p1 < diff) {