GetItemInfo from GetLootRollItemInfo
Hi,
I have this function: Lua Code:
Is it possible to add itemLevel into it as a condition. I tried GetItemInfo(name) but name can be used only if item is equped or in bag... Anyone knows how to get to the item like you can do it on tooltip with :GetItem(). Is it WOTLK client. Thank you |
Not sure whether this will work in wrath classic but worth a try.
https://warcraft.wiki.gg/wiki/API_GetLootRollItemLink This function takes the same input but one of the outputs is the item id. Which you can then use with https://warcraft.wiki.gg/wiki/API_GetItemInfo Which returns the itemLevel which can then use to filter out as you need. |
All times are GMT -6. The time now is 12:15 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI