mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[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:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user