SafetyFinder: Stop attacking when moving to safety#111
SafetyFinder: Stop attacking when moving to safety#111Pablete1234 merged 2 commits intodarkbot-reloaded:masterfrom
Conversation
Pablete1234
left a comment
There was a problem hiding this comment.
It's nice in concept, but it may need some extra thought.
In particular when the escape mode is sight (ie: you have not been attacked, and you're only running because an enemy showed up near you), and you have the stopRunningNoSight config set, the bot will just run back towards the npc if the enemy goes away, but will not be attacking anymore (and it may take a bit for it to re-try shooting).
If the bot is "just close enough" to the enemy that it keeps "dancing" to get closer to the npc, then start running, and back, this will be stopping attacks all the time when it could have slowly dragged the npc away.
TLDR: consider that when you're running in escape mode sight, and you have stopRunningNoSight enabled, you should only stop attacking when you're significantly away from the npc, or maybe not even stop at all.
Yes, this make a sense. |
This is from Discrord "#feature-request-list" channel: