Lua API
On this page

WeaponProfile

Inherits from

TODO

Fields:

Damage number

the maximum damage done by the weapon

DamageMod number

the damage modifier of the weapon

DamageType DamageType

the type of damage done by the weapon

MaxVelocity number

the power of the weapon (this affects range)

Skill SkillId

the skill used by the weapon (-1 if none)

SkillBonus number

the attack skill bonus of the weapon

Speed number

the speed of the weapon

Variance number

the maximum damage variance of the weapon

Methods:

GetPropertyKeys() : string[]

Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts

Returns:string[]

ToString() : string

Returns a string that represents the current object.

Returns:string