mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 10:30:27 +00:00
fix(Scripts/ZulAman): Fix Narolakk Mangle timer and Bear phase not la… (#20648)
* fix(Scripts/ZulAman): Fix Narolakk Mangle timer and Bear phase not lasting for full duration * Update boss_nalorakk.cpp * Update boss_nalorakk.cpp
This commit is contained in:
@@ -15,13 +15,6 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* 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();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user