Lua API
On this page

StatMod

Inherits from

Information on stat modification

Fields:

Flags EnchantmentFlags

flags that indicate the type of effect the spell has

Key number

along with flags, indicates which attribute is affected by the spell

Value number

the effect value/amount

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