Unify / streamline scanning logic calls, do a manual scan on enter and cleanup logging

This commit is contained in:
Akkadius
2020-01-12 19:37:53 -06:00
parent 467f8d7867
commit 306a08b9ac
4 changed files with 9 additions and 29 deletions
-6
View File
@@ -705,12 +705,6 @@ bool NPC::Process()
SpellProcess();
if (mob_scan_close.Check()) {
LogAIScanClose(
"is_moving [{}] npc [{}] timer [{}]",
moving ? "true" : "false",
GetCleanName(),
mob_scan_close.GetDuration()
);
entity_list.ScanCloseMobs(close_mobs, this);