WoW:API UnitArmor

From AddOn Studio
Revision as of 21:43, 20 November 2004 by WoWWiki>Danboo
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
UnitArmor -Documentation by danboo-

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.

Template:WoW API