Skip to content

rq.StatusInstance ​

since 2.2.0

A state on one character, from rq.status.add, get and list.

It is the live record: a mod may change turns, power and data. The icon shows a change of turns the next time rq.status touches the state.

Fields ​

NameTypeDescription
idstringThe state's id.
iicintegerThe bearer's roster slot.
kind"bad"|"good"From the definition.
turns (optional)integerThe bearer's turns left; nil for the whole fight.
stacksintegerHow many stacks, 1 or more.
powernumberWhat add gave in opts.power, for the definition's callbacks. Default 0.
sourceintegerWho put it on (opts.source); 0 when not given.
datatableA table for the mod's own values.

Used by ​

rq.StatusDef, rq.status.add, rq.status.get, rq.status.list, rq.status.on_add, rq.status.on_remove