Lua API
On this page

Attribute

Inherits from

Represents a specific Attribute on a creature (Like Strength, Endurance, etc)

Fields:

Base number

read only

Base (unbuffed) attribute level

Current number

read only

Current attribute level. Includes buffs/debuffs/vitae

Experience number

read only

Total XP spent on this attribute

InitLevel number

read only

starting point for advancement of the attribute (eg bonus points)

PointsRaised number

read only

The amount of times this attribute has been raised

Type AttributeId

read only

Attribute type

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