From 3985db30063b17eaf6c98a21f3e3fb236bf7ab2d Mon Sep 17 00:00:00 2001 From: Dan <83884799+elthehablo@users.noreply.github.com> Date: Mon, 27 May 2024 19:24:37 +0200 Subject: [PATCH] fix(Scripts/Hyjal): Anetheron should not cast sleep on MT (#18948) * init * also talk when spell fails --- .../CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp index e814cc607..02da28a40 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp @@ -65,9 +65,8 @@ public: context.Repeat(10s, 15s); }).Schedule(25s, 32s, [this](TaskContext context) { - if (DoCastRandomTarget(SPELL_SLEEP) == SPELL_CAST_OK) - Talk(SAY_SLEEP); - + Talk(SAY_SLEEP); + DoCastRandomTarget(SPELL_SLEEP, 0, 0.0f, true, false, false); context.Repeat(35s, 48s); }).Schedule(30s, 48s, [this](TaskContext context) {