Originally Posted by Shinni
GetLootItemLink expects the lootID instead of the lootIndex.
To get the lootID, you can use GetLootItemInfo:
Lua Code:
GetLootItemLink( GetLootItemInfo( lootIndex ), LINK_STYLE_DEFAULT )
|
I already have the lootId. That is what I am passing in.