GetBaseDamage - Weapon

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: Weapon Script

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

Syntax[edit | edit source]

int Function GetBaseDamage() native

Parameters[edit | edit source]

  • None

Return Value[edit | edit source]

The base damage of this weapon.

Examples[edit | edit source]

; Obtain the base damage of the player's currently equipped right-hand weapon
int BaseDmg = Game.GetPlayer().GetEquippedWeapon().GetBaseDamage()

See Also[edit | edit source]