Skip to content

Commit f1efdd5

Browse files
committed
Show mutated icon on Vaal items
1 parent 437cfe9 commit f1efdd5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/Classes/ItemsTab.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3203,7 +3203,6 @@ function ItemsTabClass:AddItemTooltip(tooltip, item, slot, dbMode, maxWidth)
32033203
tooltip.tooltipHeader = item.rarity
32043204
tooltip.center = true
32053205
tooltip.color = rarityCode
3206-
self:SetTooltipHeaderInfluence(tooltip, item)
32073206
-- Item name
32083207
if item.title then
32093208
tooltip:AddLine(fontSizeTitle, rarityCode..item.title, "FONTIN SC")
@@ -3293,7 +3292,11 @@ function ItemsTabClass:AddItemTooltip(tooltip, item, slot, dbMode, maxWidth)
32933292
local typeStr = base.weapon and self.build.data.weaponTypeInfo[base.type].label or base.type
32943293
if itemOrigin then
32953294
typeStr = itemOrigin .. " " .. typeStr
3295+
if itemOrigin == "Vaal" then
3296+
item.mutated = true
3297+
end
32963298
end
3299+
self:SetTooltipHeaderInfluence(tooltip, item)
32973300
tooltip:AddLine(fontSizeBig, s_format("^x7F7F7F%s", typeStr), "FONTIN SC")
32983301
if item.quality and item.quality > 0 then
32993302
tooltip:AddLine(fontSizeBig, s_format("^x7F7F7FQuality: "..colorCodes.MAGIC.."+%d%%", item.quality), "FONTIN SC")

0 commit comments

Comments
 (0)