change max_hp formula