Difference between revisions of "GetItemHealthPercent"
Jump to navigation
Jump to search
imported>SJML Bot (Bot creating condition functions pages.) |
DavidJCobb (talk | contribs) (Functionality verified via reverse-engineering.) |
||
Line 1: | Line 1: | ||
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: | |||
{| class="wikitable" | |||
|+ 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 | |||
|} | |||
[[Category:Condition Functions]] | [[Category:Condition Functions]] |
Latest revision as of 18:03, 12 May 2024
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:
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 |