fix(Scripts/Karazhan): Sync Enfeeble and Shadow Nova (#17314)

Update boss_prince_malchezaar.cpp
This commit is contained in:
Tereneckla
2023-09-24 17:46:13 +00:00
committed by GitHub
parent 5952861e92
commit e361c92d66
@@ -205,13 +205,12 @@ struct boss_malchezaar : public BossAI
}); });
context.SetGroup(GROUP_ENFEEBLE); context.SetGroup(GROUP_ENFEEBLE);
scheduler.DelayGroup(GROUP_SHADOW_NOVA, 5s);
context.Repeat(); context.Repeat();
}).Schedule(35500ms, [this](TaskContext context) }).Schedule(35500ms, [this](TaskContext context)
{ {
DoCastAOE(SPELL_SHADOW_NOVA); DoCastAOE(SPELL_SHADOW_NOVA);
context.SetGroup(GROUP_SHADOW_NOVA); context.SetGroup(GROUP_SHADOW_NOVA);
context.Repeat(); context.Repeat(30s);
}).Schedule(40s, [this](TaskContext context) }).Schedule(40s, [this](TaskContext context)
{ {
if (!MaxSpawns(infernalTargets)) // only spawn infernal when the area is not full if (!MaxSpawns(infernalTargets)) // only spawn infernal when the area is not full