Displaying item level on item tooltip
Hi,
Some years ago, I used the following to display the item level on an item's tooltip (except armor and weapons and those already had item level info). But it seems it no longer works. I've been away from WoW and LUA coding for a long time, and I will appreciate any pointers to fix my code below. Thanks! Lua Code:
EDIT 1: I learned that the API was changed. Replacing the last line with the following fixed it. Lua Code:
EDIT 2: But it now gives the following error for comparison item tooltips: Lua Code:
I guess GetItem() was also removed but no idea what to use instead. |
Many of the item functions were moved to C_Item
Try C_Item.GetItem()
|
tooltip:GetItem() was replaced with TooltipUtil.GetDisplayedItem().
|
All times are GMT -6. The time now is 06:18 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI