benilla-re systems structs docs

UnitResistance

Lua global function

Function
Script::UnitResistance ui
Meaning
Returns a unit's resistance base, value and buffs, raising on an index outside 0 to 6 verified, proof one
Registered in
global table s_unitFunctions ui
Registrar pair
0x850590
Arguments
2 exact
Returns
4 values exact, kinds (number,number,number,number) agree

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 3