Implement stamina regeneration.
Fix merge conflict.