Back to index...

NameTypeDeprecatedSecureDescription
Event.StatSignals a change in the player's stats.
Inspect.StatfunctionReturns information about the player's stats.

Event.Stat

Signals a change in the player's stats.

Usage:

Event.Stat(stats)
ParameterTypeDatatypeDescription
statsparametervariantA table from stat ID to stat value, containing the stats that changed.

Inspect.Stat

Returns information about the player's stats.

Usage:

results = Inspect.Stat()
result = Inspect.Stat(stat)
ParameterTypeDatatypeDescription
statparameterstringOptional 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.
resultresultnumberThe current value of that stat.
resultsresulttableA table from stat ID to stat value, containing all the player's stats.

Back to index...