Off the top of my head, When I am being attacked by a rock crab, sometimes it is bound an determined to get the the square marked on the screen. perhaps you can have some sort of detection when objective player is being attacked. For example, when i am walking to the box outline, and i am 3 squares away and the rock crab attacks, allow it to fight rather try and get to the square, then fight. I'm not sure if that is more or less bot like, but just my idea. I see it a few times.
I'll do some testing with the issue of banking, I haven't tried it in a while for selecting food over 25. will update soon. Thanks!