SetDamageToArmorMaxPercent

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Sets the maximum condition damage a single attack hit can inflict to any worn armor item, as a percentage of the armor base health.

This function, along with the fDamageToArmorPercentage GMST, can be used for tweaking and balancing armor condition damage.

  • This setting is saved in the game.
  • The function may be called with the argument omitted, in which case it will return the setting's current value, without modifying it.

Syntax

[help]
(maxPercent:float) SetDamageToArmorMaxPercent maxPercent:float{0.0-1.0}

Example

SetDamageToArmorMaxPercent 0.025

Sets the maximum condition damage per hit to 2.5% of armor base health.

See Also