fixed two bugs with charges, that they would be completely ignored on the item in the auction slot and that they wouldn't be parsed for some specific items

This commit is contained in:
Manuel Simon Hirsig
2015-09-11 21:46:09 +02:00
parent 8d850ab889
commit 6df606508b
2 changed files with 39 additions and 4 deletions
+6
View File
@@ -224,6 +224,12 @@ function Aux_OnNewAuctionUpdate()
end
currentAuctionItemName, currentAuctionItemTexture, currentAuctionItemStackSize = GetAuctionSellItemInfo()
AuxScanTooltip:SetOwner(UIParent, "ANCHOR_NONE")
AuxScanTooltip:SetAuctionSellItem()
AuxScanTooltip:Show()
local tooltip = Aux_Scan_ExtractTooltip()
currentAuctionItemStackSize = Aux_Scan_ItemCharges(tooltip) or currentAuctionItemStackSize
if currentAuctionItemName and not auxSellEntries[currentAuctionItemName] then
Aux_RefreshEntries()