
DE tootlip info not showing for armor types
ceylina opened this issue ยท 3 comments
DE info for pricing and what DEing an item breaks down into shows fine if the item is weapon but armor is not showing at all.
It will still show unknown on the beta if there are no DE mats for sale on the AH but the break down information will show.
One more thing to add.. It seems it is pulling up the disenchant tooltip entry for armor but is not showing pricing information (just shows "Disenchant: Unknown" instead of say "Disenchant: 500g") which then does not show what the items breaks down into.
So it seems auctionator.lua and auctionatorhints.lua had some local variables defines as WEAPON and ARMOR. They had values assigned as 1 and 2 respectively.
local WEAPON = 1;
local ARMOR = 2;
auctionator.lua lines 26 and 27
auctionatorhints.lua lines 232 and 233
Changing them to
local WEAPON = LE_ITEM_CLASS_WEAPON;
local ARMOR = LE_ITEM_CLASS_ARMOR;
which means weapon=2 and armor=4 (the classID of these top level auction classes) fixed the issue.