mega-macro icon indicating copy to clipboard operation
mega-macro copied to clipboard

Macro tooltip when using items displays wrong itemlvl

Open Domesdos opened this issue 5 years ago • 2 comments

When using a macro to use an item or slotid the tooltip displays the correct item but with it's base ilvl, not the ilvl that item actually has.

Example: when using "/use 13" in a macro to always use the first trinket slot, the macro works as intented but the tooltip is displaying wrong. My ilvl 184 mythic trinket is displayed as the same item but at blue quality with an ilvl of 158 which is the base version of that item dropping in normal dungeons.

Domesdos avatar Dec 20 '20 02:12 Domesdos

In case anyone anyone comes across this issue, in the tooltip-functions.lua, replace GameTooltip:SetItemByID(data.Id) on line 12 with GameTooltip:SetInventoryItemByID(data.Id)

bpapuni avatar Jul 11 '22 04:07 bpapuni

Interesting idea. I suspect that it may still show the wrong item level if you have 2 of the same item but different item levels (it'll pick the first one it finds).

sellorio2 avatar Jul 11 '22 04:07 sellorio2