WoW:API UnitArmor
Jump to navigation
Jump to search
Returns the armor statistics relevant to the specified target.
UnitArmor(unit);
- Arguments
- (String unit)
- unit
- "player" or "pet"
- Returns
- base, effectiveArmor, armor, posBuff, negBuff
- base
- ?
- effectiveArmor
- ?
- armor
- ?
- posBuff
- increased armor due to positive buffs
- negBuff
- reduced armor due to negative buffs
- Example
local base, effectiveArmor, armor, posBuff, negBuff = UnitArmor(unit);
- Result
- Description
- Returns the armor statistics relevant to the specified target.