benilla-re systems structs docs

UnitArmor

Lua global function

Function
Script::UnitArmor ui
Meaning
Returns a unit's armor base, effective value, armor and buffs from the armor school resistance verified, proof one
Registered in
global table s_unitFunctions ui
Registrar pair
0x8505e0
Arguments
1 exact
Returns
5 values exact, kinds (number,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 1