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
4values 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
- Who may be asked in ui: unit stat functions
- Index and argument errors in ui: unit stat functions
- Resistances and armor in ui: unit stat functions