Consolidated Hp Regen into one function