SetConditionDamagePenalty

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Overrides the hardcoded Multiplier (0.67, by default) defining the rate and maximum penalty to weapon damage when item condition percent falls below the 75% threshold. Above the 75% threshold, this formula is ignored and the PenaltyMult is just 1.0.

The formula:

PenaltyMult = 1.0 - (0.75 - CondPercent[0, 1.0]) * Multiplier

Syntax

[help]
SetConditionDamagePenalty multiplier:float

Example

SetConditionDamagePenalty 1

The maximum penalty mult, at 0% condition, is 0.25 (i.e. EffectiveDamage = 0.25 * BaseDamage).

See Also