The bot currently targets a creature, then when it dies targets another.
But what it doesnt do, is understand if amonster is dead, or used invisible.
Ive watched the bot target a creature, its gone invisible, the bot presumes its dead then attempts to run to next waypoint, creature re-appears so bot runs BACK to creature, it invis again, bot runs away again... this happends until it dies, or the bot manages to run far enough away that it doesnt re-target the monster (monster is no longer onscreen when invisible)
The bot needs a way to recognise creature names that use invisible (so that it doesnt do it with all creatures and lag), and to watch if that creature is looted. e.g Cults, warlocks, mutated tigers, stalkers. has looter been activated? no? must not be dead... delay walker 2000 ms, did monster reappear? nop? must have ran off / been killed by another, keep walking.
a rushed solution, probably a better option but i dont pretend to know how the bot is coded / works.