From 065579a6e3be1cc28efb6957f4b4c66f69cbaeea Mon Sep 17 00:00:00 2001 From: IntelligentQuantum Date: Sun, 24 Nov 2024 14:43:57 +0330 Subject: [PATCH] =?UTF-8?q?fix(Scripts/ZulAman):=20Nalorakk=20in=20Bearfor?= =?UTF-8?q?m=20should=20not=20be=20attacking=20wi=E2=80=A6=20(#20707)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp index 6adadef99..9ccb3696a 100644 --- a/src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp +++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp @@ -242,6 +242,9 @@ struct boss_nalorakk : public BossAI Talk(SAY_SHIFTEDTOTROLL); scheduler.CancelGroup(GROUP_BEAR); _bearForm = false; + + me->SetCanDualWield(true); + scheduler.Schedule(15s, 20s, GROUP_HUMAN, [this](TaskContext context) { Talk(SAY_SURGE); @@ -271,6 +274,9 @@ struct boss_nalorakk : public BossAI DoCastSelf(SPELL_BEARFORM, true); scheduler.CancelGroup(GROUP_HUMAN); _bearForm = true; + + me->SetCanDualWield(false); + scheduler.Schedule(2s, GROUP_BEAR, [this](TaskContext context) { DoCastVictim(SPELL_LACERATINGSLASH);