Endstar LUA API Documentation
Loading...
Searching...
No Matches
MeleeWeapon Class Reference

Inventory Item base type for melee weapons. More...

Public Member Functions

void SetDamageOnHit (Context instigator, int damage)
 Set the weapon damage.
 

Detailed Description

Inventory Item base type for melee weapons.

Member Function Documentation

◆ SetDamageOnHit()

void SetDamageOnHit ( Context instigator,
int damage )

Set the weapon damage.

Parameters
instigatorThe source context triggering this change
damageThe amount of damage this weapon deals on hit