Added regeneration, basic functionality for dying and KOs, the take_damage proc, and more.