UnitDefense
Lua global function
- Function
- Script::UnitDefense ui
- Meaning
- Returns a unit's defense skill and modifier for the player or a unit the player owns verified, proof one
- Registered in
- global table s_unitFunctions ui
- Registrar pair
- 0x8505d8
- Arguments
- 1 exact
- Returns
2values exact, kinds(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 2
- Who may be asked in ui: unit stat functions
- Defense and weapon skills in ui: unit stat functions