SetCritDamage - Weapon
SKSE Member of: Weapon Script
Changes the critical damage of this weapon. (This function requires SKSE)
SyntaxEdit
Function SetCritDamage(int damage) native
ParametersEdit
- damage: The new critical damage of this weapon.
Return ValueEdit
None.
ExamplesEdit
; Double the crit damage of the player's right hand weapon
Weapon PlayerWeapon = Game.GetPlayer().GetEquippedWeapon()
PlayerWeapon.SetCritDamage(PlayerWeapon.GetCritDamage() * 2)