SetBaseDamage - Weapon

SKSE Member of: Weapon Script

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

SyntaxEdit

Function SetBaseDamage(int damage) native

ParametersEdit

  • damage: The new base damage of this weapon.

Return ValueEdit

None.

ExamplesEdit

; Double the base damage of the player's right hand weapon
Weapon PlayerWeapon = Game.GetPlayer().GetEquippedWeapon()
PlayerWeapon.SetBaseDamage(PlayerWeapon.GetBaseDamage() * 2)

See AlsoEdit