fix(Scripts/TheEye): Void Reaver sniffed timers (#17676)
initial commit
This commit is contained in:
@@ -87,23 +87,23 @@ struct boss_void_reaver : public BossAI
|
|||||||
scheduler.Schedule(10min, [this](TaskContext)
|
scheduler.Schedule(10min, [this](TaskContext)
|
||||||
{
|
{
|
||||||
DoCastSelf(SPELL_BERSERK);
|
DoCastSelf(SPELL_BERSERK);
|
||||||
}).Schedule(15s, [this](TaskContext context)
|
}).Schedule(8300ms, [this](TaskContext context)
|
||||||
{
|
{
|
||||||
Talk(SAY_POUNDING);
|
Talk(SAY_POUNDING);
|
||||||
DoCastSelf(SPELL_POUNDING);
|
DoCastSelf(SPELL_POUNDING);
|
||||||
scheduler.DelayGroup(GROUP_ARCANE_ORB, 3s);
|
scheduler.DelayGroup(GROUP_ARCANE_ORB, 3s);
|
||||||
context.Repeat(15s);
|
context.Repeat(12100ms, 15800ms);
|
||||||
}).Schedule(3s, GROUP_ARCANE_ORB, [this](TaskContext context)
|
}).Schedule(3450ms, GROUP_ARCANE_ORB, [this](TaskContext context)
|
||||||
{
|
{
|
||||||
if (Unit* target = SelectTarget(SelectTargetMethod::Random, 0, -18.0f, true))
|
if (Unit* target = SelectTarget(SelectTargetMethod::Random, 0, -18.0f, true))
|
||||||
me->CastSpell(target, SPELL_ARCANE_ORB, false);
|
me->CastSpell(target, SPELL_ARCANE_ORB, false);
|
||||||
else if (Unit* target = SelectTarget(SelectTargetMethod::Random, 0, 20.0f, true))
|
else if (Unit* target = SelectTarget(SelectTargetMethod::Random, 0, 20.0f, true))
|
||||||
me->CastSpell(target, SPELL_ARCANE_ORB, false);
|
me->CastSpell(target, SPELL_ARCANE_ORB, false);
|
||||||
context.Repeat(3s);
|
context.Repeat(2400ms, 6300ms);
|
||||||
}).Schedule(30s, [this](TaskContext context)
|
}).Schedule(14350ms, [this](TaskContext context)
|
||||||
{
|
{
|
||||||
DoCastVictim(SPELL_KNOCK_AWAY);
|
DoCastVictim(SPELL_KNOCK_AWAY);
|
||||||
context.Repeat(25s);
|
context.Repeat(20550ms, 22550ms);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user