fix(Scripts/TheEye): A'lar stop casting flame buffet when any valid t… (#18313)
fix(Scripts/TheEye): A'lar stop casting flame buffet when any valid target is in range
This commit is contained in:
parent
cbb1defb8e
commit
5e7e5ce417
1 changed files with 1 additions and 1 deletions
|
|
@ -301,7 +301,7 @@ struct boss_alar : public BossAI
|
|||
{
|
||||
scheduler.Schedule(timer, GROUP_FLAME_BUFFET, [this](TaskContext context)
|
||||
{
|
||||
if (!me->IsWithinMeleeRange(me->GetVictim()) && !me->isMoving())
|
||||
if (!me->SelectNearestTarget(me->GetCombatReach()) && !me->isMoving())
|
||||
{
|
||||
DoCastVictim(SPELL_FLAME_BUFFET);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue