From 8c2d59b870d1c18d9619417c19dd12e756f8cf60 Mon Sep 17 00:00:00 2001 From: vaisest <4550061+vaisest@users.noreply.github.com> Date: Sat, 12 Sep 2026 21:59:41 +0300 Subject: [PATCH] Show red text for unsupported rune mods --- src/Classes/ItemsTab.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Classes/ItemsTab.lua b/src/Classes/ItemsTab.lua index 1ee55268d2..b92c803cf7 100644 --- a/src/Classes/ItemsTab.lua +++ b/src/Classes/ItemsTab.lua @@ -813,7 +813,11 @@ holding Shift will put it in the second.]]) tooltip:AddLine(14, "^7" .. s_format("Requires: Level %d", value.req)) end for _, line in ipairs(value.lines) do - tooltip:AddLine(14, colorCodes.MAGIC .. line) + -- rune mod lines don't need a range applied to them + local stripped = line:gsub("Bonded: ", "") + local modList, extra = modLib.parseMod(stripped) + local colour = ((not not modList) and not extra) and colorCodes.MAGIC or colorCodes.UNSUPPORTED + tooltip:AddLine(14, colour .. line) end -- Adding Comparison local compLines = { type = "Rune" }