I looked all over the forum and could not find it anywhere. I think an event where the bot could sense when it is getting attacked is a necessity. Unless, there is, of course a way to do it in the game already. :/