[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.
This commit is contained in:
nytmyr authored and GitHub committed 2023-12-18 15:37:07 -06:00
1 parent b19ad64800
commit 3c894cb533
1 file changed
+1 -1
+1 -1
View File
@@ -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();