Returns information about an item currently up for loot rolling


See also Loot functions, Item functions.

Signature:

texture, name, count, quality, bindOnPickUp = GetLootRollItemInfo(id)

Arguments:

  • id - Index of an item currently up for loot rolling (as provided in the START_LOOT_ROLL event) (number)

Returns:

  • texture - Path to an icon texture for the item (string)
  • name - Name of the item (string)
  • count - Number of stacked items (number)
  • quality - Quality (rarity) of the item. (number, itemQuality)
  • bindOnPickUp - 1 if the item is bind on pickup; otherwise nil (1nil)