API UnitArmor

Returns the armor statistics relevant to the specified target.

Arguments

 * unit : - The unitId to get information from. Normally only works for   and , but also for "target" if the target is a beast upon which the hunter player has cast Beast Lore.

Returns

 * baselineArmor : - The unit's base armor without buffs, armor kits or enchantments.
 * effectiveArmor : - The unit's effective armor after buffs.
 * armor : - The unit's armor after adding armor kits and enchantments but without buffs.
 * bonusArmor : - Amount of armor increase due to positive buffs