diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_netherspite.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_netherspite.cpp index a1f03421e0991f..46f16be9583bbb 100644 --- a/src/server/scripts/EasternKingdoms/Karazhan/boss_netherspite.cpp +++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_netherspite.cpp @@ -218,13 +218,17 @@ struct boss_netherspite : public BossAI } }).Schedule(10s, PORTAL_PHASE, [this](TaskContext context) { - UpdatePortals(); - context.Repeat(1s); + UpdatePortals(); + context.Repeat(1s); }).Schedule(10s, PORTAL_PHASE, [this](TaskContext context) { - DoCastSelf(SPELL_EMPOWERMENT); - me->AddAura(SPELL_NETHERBURN_AURA, me); - context.Repeat(90s); + DoCastSelf(SPELL_EMPOWERMENT); + me->AddAura(SPELL_NETHERBURN_AURA, me); + context.Repeat(90s); + }).Schedule(15s, PORTAL_PHASE, [this](TaskContext context) + { + DoCastRandomTarget(SPELL_VOIDZONE, 1, 45.0f, true, true); + context.Repeat(15s); }); Talk(EMOTE_PHASE_PORTAL); } @@ -267,11 +271,7 @@ struct boss_netherspite : public BossAI HandleDoors(false); SwitchToPortalPhase(); DoZoneInCombat(); - scheduler.Schedule(15s, [this](TaskContext context) - { - DoCastRandomTarget(SPELL_VOIDZONE, 1, 45.0f, true, true); - context.Repeat(15s); - }).Schedule(9min, [this](TaskContext /*context*/) + scheduler.Schedule(9min, [this](TaskContext /*context*/) { if (!berserk) {