Fix hp_pct calculation so it's not only 0 or 100