BonusRollPreview

BonusRollPreview

666k Downloads

Doesn't Display Heroic/Mythic Items

Wolen opened this issue ยท 1 comments

commented

Since they made items have the same id but with a bonus id in the itemString, it will only ever display the Normal mode item. I fixed it by adding some code to ItemButtonSelf.

local function ItemButtonEnter(self)
        GameTooltip:SetOwner(self, 'ANCHOR_TOPLEFT')
        GameTooltip:SetItemByID(self.itemID)
        --The code I added are the two lines below.
        GameTooltip:ClearLines()
        GameTooltip:SetHyperlink(self.itemLink)

        self:SetScript('OnUpdate', ItemButtonUpdate)
end
commented

Nice catch, I'll make sure to check this before the next version