Item Condition And Value
(Redirected from FItemConditionValueBase)
Jump to navigation
Jump to search
< [[::Settings|Settings]]
ValueMult = fItemConditionValueBase + fItemConditionValueMult * 10^fItemConditionValueExp * (1 - fItemConditionValueBase) * healthPercent^fItemConditionValueExp
healthPercent is the percentage of its maximum health that the item still has. The base value of the item is multiplied by ValueMult to find its current value.
Changing the fItemConditionValueBase only ensures that the ValueMult of an item based on condition varies between fItemConditionValueBase and 1, provided fItemConditionValueBase is between 0 and 1). However, changing the values of fItemConditionValueMult and fItemConditionValueExp can cause the value of an item at full health to exceed its base value or never reach it.
Game settings used in these formulae[edit | edit source]
Setting | Default | Description |
fItemConditionValueBase | 0.0 | At zero health the value of an item is given by fItemConditionValueBase * Base Value. |
fItemConditionValueMult | 0.0316 | Controls how much is value is added as the condition improves in a linear fashion. |
fItemConditionValueExp | 1.5 | Controls how much is value is added as the condition improves in an exponential fashion. |