SetArmorConditionPenalty
From GECK
A function added by the JIP NVSE Plugin.
Contents
Description
Overrides the hardcoded Multiplier (1.0, by default) defining the rate and maximum penalty to armor DT/DR when item condition percent falls below the 50% threshold. Above the 50% threshold, this formula is ignored and the PenaltyMult is just 1.0.
The formula:
PenaltyMult = 1.0 - (0.5 - CondPercent[0, 1.0]) * Multiplier
- The function may be called with the argument omitted, in which case it will return the current value of the multiplier without modifying it.
Syntax
(multiplier:float) SetArmorConditionPenalty multiplier:float
Example
SetArmorConditionPenalty 1.5
The maximum penalty mult, at 0% condition, is 0.25 (i.e. EffectiveDTDR = 0.25 * BaseDTDR).