Lua API
On this page

ArmorProfile

Inherits from

TODO

Fields:

ProtAcid number

relative protection against acid damage (multiply by AL for actual protection)

ProtBludgeoning number

relative protection against bludgeoning damage (multiply by AL for actual protection)

ProtCold number

relative protection against cold damage (multiply by AL for actual protection)

ProtFire number

relative protection against fire damage (multiply by AL for actual protection)

ProtLightning number

relative protection against lightning damage (multiply by AL for actual protection)

ProtNether number

relative protection against nether damage (multiply by AL for actual protection)

ProtPiercing number

relative protection against piercing damage (multiply by AL for actual protection)

ProtSlashing number

relative protection against slashing damage (multiply by AL for actual protection)

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