Custom tooltip text not displaying for Tradeskill window items I don't possess
Hi,
I use the following code to display the "item level" of an item (all items except armor and weapon) next to its name. Ex: "Heavy Kodo Stew (35)". Lua Code:
When I open a profession window (e.g. Blacksmithing) and bring the cursor over a resulting item, the item level is displayed only for items that I posses. For example, I have Dense Grinding Stone, its item level is displayed: http://imgur.com/kTrxxbP On the other hand, I don't have Heavy Grinding Stone, its item level is not displayed: http://imgur.com/8GwaR95 Any ideas why it is not displaying on items I don't have, and how to make it display? Thanks. |
First return from tooltip:GetItem() is the item name, which only works with GetItemInfo if you have the item in question. Use the second return, item link, instead.
|
Quote:
Lua Code:
|
All times are GMT -6. The time now is 08:45 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI