From 57f9cecbd9f779f4cf89dc8f076b36b057fd2c67 Mon Sep 17 00:00:00 2001 From: Andrew <47818697+Nyeriah@users.noreply.github.com> Date: Wed, 20 Nov 2024 18:29:07 -0300 Subject: [PATCH] =?UTF-8?q?fix(Scripts/ZulAman):=20Fix=20Narolakk=20Mangle?= =?UTF-8?q?=20timer=20and=20Bear=20phase=20not=20la=E2=80=A6=20(#20648)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(Scripts/ZulAman): Fix Narolakk Mangle timer and Bear phase not lasting for full duration * Update boss_nalorakk.cpp * Update boss_nalorakk.cpp --- .../EasternKingdoms/ZulAman/boss_nalorakk.cpp | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp index e7afe0b9f..6adadef99 100644 --- a/src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp +++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp @@ -15,13 +15,6 @@ * with this program. If not, see . */ -/* ScriptData -SDName: Boss_Nalorakk -SD%Complete: 100 -SDComment: -SDCategory: Zul'Aman -EndScriptData */ - #include "CellImpl.h" #include "CreatureScript.h" #include "GridNotifiers.h" @@ -225,7 +218,7 @@ struct boss_nalorakk : public BossAI context.Repeat(); }).Schedule(10s, 15s, GROUP_HUMAN, [this](TaskContext context) { - if (me->GetVictim() && !me->GetVictim()->HasAura(SPELL_MANGLEEFFECT)) + if (me->GetVictim() && !me->GetVictim()->HasAura(SPELL_MANGLE)) { DoCastVictim(SPELL_MANGLE); context.Repeat(1s); @@ -247,7 +240,6 @@ struct boss_nalorakk : public BossAI if (currentlyInBearForm) { Talk(SAY_SHIFTEDTOTROLL); - me->RemoveAurasDueToSpell(SPELL_BEARFORM); scheduler.CancelGroup(GROUP_BEAR); _bearForm = false; scheduler.Schedule(15s, 20s, GROUP_HUMAN, [this](TaskContext context) @@ -291,10 +283,9 @@ struct boss_nalorakk : public BossAI { DoCastSelf(SPELL_DEAFENINGROAR); context.Repeat(15s, 20s); - }).Schedule(25s, 30s, GROUP_BEAR, [this](TaskContext context) + }).Schedule(30s, GROUP_BEAR, [this](TaskContext) { ShapeShift(_bearForm); - context.Repeat(); }); } }