Returns the amount of time remaining before loot rolling for an item expires. When the time expires, all group members who have not yet chosen to roll Need or Greed automatically pass, random roll results are produced for those who chose to roll, and the server declares a winner and awards the item.
See also Loot functions.
Signature:
timeLeft
=
GetLootRollTimeLeft(id)
Arguments:
id
- Index of an item currently up for loot rolling (as provided in theSTART_LOOT_ROLL
event) (number
)
Returns:
timeLeft
- Amount of time remaining before loot rolling for the item expires (in milliseconds) (number
)