GetArmourPenetrated

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

When called from a OnHit/OnHitWith script block (or the equivalent NVSE event handlers), or from a ScriptEffectStart block in an Ammo form Impact Script, returns whether the total damage delivered by the current hit had penetrated the actor's DT, or was fully-absorbed by it.

Note that the maximum damage reduction, after deducting DT/DR is, by default, 80% of the total damage, which effectively means that even if a hit was fully-absorbed, a certain fraction of the damage will always pass through.

Syntax

[help]
(hitPenetrated:1/0) reference.GetArmourPenetrated

Example

set bHitPenetrated to targetRef.GetArmourPenetrated 

See Also