benilla-re systems structs docs

UnitBuff

Lua global function

Function
Script::UnitBuff ui
Meaning
Pushes a unit's index-th buff icon and stack count, gated by who may see buffs verified, proof one
Registered in
global table s_unitFunctions ui
Registrar pair
0x8505f0
Arguments
3 exact
Returns
1|2 values set, kinds (nil) | (nil,number) | (string?,number) agree
Notes
delegated-push

Arguments is the largest Lua stack index the function reads: a floor, never a check. Returns lists the number and the kinds of the values it pushes; ? is unknown. what the columns mean.

Cited in 1