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