GetItemHealthPercent

This function returns the item condition of the reference it's run on.

In Fallout 3 and Fallout: New Vegas, weapons and armor had a health pool (called "condition" in-game) that would decrease over time, requiring the player to repair these items in order to keep using them. Skyrim repurposes the item health value for tempering — that is, improving an item's quality using the Smithing skill. The item health percentages map as follows:

Item health percentages
Quality Min % Game setting for min %
Fine 1.1 fHealthDataValue1
Superior 1.2 fHealthDataValue2
Exquisite 1.3 fHealthDataValue3
Flawless 1.4 fHealthDataValue4
Epic 1.5 fHealthDataValue5
Legendary 1.6 fHealthDataValue6