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

Description

Wiki Description

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


Caveats


Parameters

intdamage

CK Wiki Description

The new base damage of this weapon.


Examples

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

Auto-Generated Example

int myInt__damage

myWeapon__toCallFunctionOn.SetBaseDamage(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.