mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 17:49:10 +00:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user