From 3c894cb53360077bb4b22acb235e013b40dc5bc5 Mon Sep 17 00:00:00 2001 From: nytmyr <53322305+nytmyr@users.noreply.github.com> Date: Mon, 18 Dec 2023 15:37:07 -0600 Subject: [PATCH] [Bots] Add ScanCloseMobs support to fix AEs (#3786) Previously bots were only scanning for nearby clients so any AE spells or procs didn't have mobs to hit. This changes that to scan for mobs instead of clients so their close entity list supports AEs with mobs to hit. --- zone/bot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/bot.cpp b/zone/bot.cpp index 407ab03d1..5da47b482 100644 --- a/zone/bot.cpp +++ b/zone/bot.cpp @@ -1669,7 +1669,7 @@ bool Bot::Process() mob_close_scan_timer.GetDuration() ); - entity_list.ScanCloseClientMobs(close_mobs, this); + entity_list.ScanCloseMobs(close_mobs, this, IsMoving()); } SpellProcess();