fix(Scripts/TheEye): make Void Reaver abilities ignore LOS (#18613)
* initial * Update SpellInfoCorrections.cpp * Update SpellInfoCorrections.cpp * cast on nearby target on spellcastfail
This commit is contained in:
parent
7f2ebd253e
commit
3ea02712d4
1 changed files with 4 additions and 4 deletions
|
|
@ -95,10 +95,10 @@ struct boss_void_reaver : public BossAI
|
|||
context.Repeat(12100ms, 15800ms);
|
||||
}).Schedule(3450ms, GROUP_ARCANE_ORB, [this](TaskContext context)
|
||||
{
|
||||
if (Unit* target = SelectTarget(SelectTargetMethod::Random, 0, -18.0f, true))
|
||||
me->CastSpell(target, SPELL_ARCANE_ORB, false);
|
||||
else if (Unit* target = SelectTarget(SelectTargetMethod::Random, 0, 20.0f, true))
|
||||
me->CastSpell(target, SPELL_ARCANE_ORB, false);
|
||||
if (!DoCastRandomTarget(SPELL_ARCANE_ORB, 0, -18.0f))
|
||||
{
|
||||
DoCastRandomTarget(SPELL_ARCANE_ORB, 0, 18.0f);
|
||||
}
|
||||
context.Repeat(2400ms, 6300ms);
|
||||
}).Schedule(14350ms, [this](TaskContext context)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue