SetCritDamage - Weapon
Revision as of 10:26, 11 May 2012 by imported>Fg109 (Created page for SetCritDamage)
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)