[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 2023-12-18 15:37:07 -06:00 committed by GitHub
parent b19ad64800
commit 3c894cb533
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();