Added damage-based regen, and support for AFK.