Returns the quality level of an equipped item


See also Inventory functions.

Signature:

quality = GetInventoryItemQuality("unit", slot)

Arguments:

  • unit - A unit to query; only valid for 'player' or the unit currently being inspected (string, unitID)
  • slot - An inventory slot number, as can be obtained from GetInventorySlotInfo (number, inventoryID)

Returns:

  • quality - The quality level of the item (number, itemQuality)