GetCritDamage - Weapon

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: Weapon Script

Returns the critical damage of this weapon. (This function requires SKSE)

Syntax[edit | edit source]

int Function GetCritDamage() native

Parameters[edit | edit source]

  • None

Return Value[edit | edit source]

The critical damage of this weapon.

Examples[edit | edit source]

; Obtain the critical damage of the player's currently equipped right-hand weapon
int CritDmg = Game.GetPlayer().GetEquippedWeapon().GetCritDamage()

See Also[edit | edit source]