So my bot dies, then walks back to the corpse. Two different problems:
1. The bot will resurrect on top of the corpse, regardless of whether there is an enemy nearby.
Please research/review Honorbuddy and copy their behavior - the bot TRIANGULATES between corpse and closest enemies, to find THE BEST LOCATION TO RESS AT. I mean this is so basic I can't even believe I'm here writing this.
2. The bot will re-engage in griding/fightting BEFORE IT RESTS. PLEASE ENSURE BOT HAS FULL LIFE AND MANA BEFORE RE-ENGAGING, another "DUH" bug.
With the two bugs above, bot will engage into chain-deaths until I stop the bot and move it somewhere safe. These bugs prevent AFK botting, especially for weaker characters at lower levels.