Lua API
On this page

Train_TrainAttribute2nd_C2S

Inherits from

Spend XP to raise a vital.

Fields:

Experience number

The amount of XP being spent

Type VitalId

The ID of the vital

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