Returns the gems socketed in an equipped item. The IDs returned refer to the gems themselves (not the enchantments they provide), and thus can be passed to GetItemInfo() to get a gem's name, quality, icon, etc.
See also Inventory functions.
Signature:
gem1, gem2, gem3 = GetInventoryItemGems(slot)
Arguments:
slot- An inventory slot number, as can be obtained fromGetInventorySlotInfo(number, inventoryID)
Returns:
gem1- Item ID of the first gem socketed in the item (itemID)gem2- Item ID of the second gem socketed in the item (itemID)gem3- Item ID of the third gem socketed in the item (itemID)