Background for Skyrim SE
Member of the Weapon script
voidfunctionSetCritDamage(intdamage)Native

Description

Wiki Description

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


Caveats


Parameters

intdamage

CK Wiki Description

The new critical damage of this weapon.


Examples

; Double the crit damage of the player's right hand weapon
Weapon PlayerWeapon = Game.GetPlayer().GetEquippedWeapon()
PlayerWeapon.SetCritDamage(PlayerWeapon.GetCritDamage() * 2)

Auto-Generated Example

int myInt__damage

myWeapon__toCallFunctionOn.SetCritDamage(myInt__damage)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.