Added setHP and setMaxHP methods.