Quantcast
WoWInterface - View Single Post - Help rectifying small batch of code 8.0 broke.
View Single Post
07-26-18, 04:35 AM   #7
PhoenixPower
A Defias Bandit
Join Date: Aug 2011
Posts: 3
It seems like GetLootSlotInfo changed.

7.3.5
Lua Code:
  1. texture, item, quantity, quality, locked, isQuestItem, questId, isActive = GetLootSlotInfo(slot);

8.0
Lua Code:
  1. texture, item, quantity, currencyID, quality, locked, isQuestItem, questId, isActive = GetLootSlotInfo(slot);

This should work.
Lua Code:
  1. local locked, isQuestItem = select(6, GetLootSlotInfo(i))

And for UnitAura they got rid of the 2nd return value (rank)

Last edited by PhoenixPower : 07-26-18 at 04:44 AM.
  Reply With Quote