Returns the player's or pet's armor value


See also Stat information functions.

Signature:

base, effectiveArmor, armor, posBuff, negBuff = UnitArmor("unit")

Arguments:

  • unit - A unit to query; only valid for player or pet (string, unitID)

Returns:

  • base - The unit's base armor value (number)
  • effectiveArmor - The unit's effective armor value (number)
  • armor - The unit's current armor value (number)
  • posBuff - Positive modifiers to armor value (number)
  • negBuff - Negative modifiers to armor value (number)