Name | Type | Deprecated | Secure | Description |
---|---|---|---|---|
Event.Stat | Signals a change in the player's stats. | |||
Inspect.Stat | function | Returns information about the player's stats. |
Signals a change in the player's stats.
Event.Stat(stats) | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
stats | parameter | variant | A table from stat ID to stat value, containing the stats that changed. |
Returns information about the player's stats.
results = Inspect.Stat() | |||
result = Inspect.Stat(stat) | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
stat | parameter | string | Optional parameter identifying the stat desired. May be any of strength, dexterity, intelligence, wisdom, endurance, valor, toughness, resistLife, resistDeath, resistFire, resistWater, resistEarth, resistAir, armor, powerAttack, critAttack, hit, powerSpell, critSpell, critPower, block, parry, dodge, vengeance, deflect, or any of the previous with "Unbuffed" appended. |
result | result | number | The current value of that stat. |
results | result | table | A table from stat ID to stat value, containing all the player's stats. |