Originally Posted by lyravega
I have somewhat similar problem. In my add-on I have a little code which just prints the loot to the chat with d().
That event gives us itemName, it is cool. But I wasn't able to link it to any other function, in order to get the quality of it. Same goes for the icon, I mean both the quality and the icon, you can get via GetLootItemInfo(), but I have no clue how to obtain the lootId.
|
Lua Code:
for i = 1,GetNumLootItems() do
local lootID, lootName, lootIcon, lootCount, lootQuality, lootValue, lootIsQuest = GetLootItemInfo(i)
end