jazzisparis / JIP-LN-NVSE

An extension for the New Vegas Script Extender (NVSE)
GNU General Public License v3.0
50 stars 14 forks source link

More HitData functions #15

Closed Demorome closed 2 years ago

Demorome commented 3 years ago

Adds GetHitFatigueDamage, GetHitArmorDamage, GetHitBlockingDTMod and GetHitCalculatedWeaponDamage to expose additional HitData info to scripts. Although to be honest, GetHitBlockingDTMod and GetHitFatigueDamage are probably the only useful ones.

Also extends GetHitExtendedFlag by adding an 8th flag to check for: IsExplosionHit. This seems to be enabled whenever a hit event is caused by an explosion, even if GetHitProjectile does not return an explosion.