Update Tooltip.lua

This commit is contained in:
Spit
2025-08-15 15:36:21 +03:00
parent 64833dd8ac
commit 884537e352
+4 -4
View File
@@ -17,13 +17,13 @@ function SetTooltipMoney(frame, money)
end
local WrappingLines = {
["^Set:"] = gsub("^"..ITEM_SET_BONUS, " %%s", ""),
["^%(%d%) Set:"] = gsub(gsub(ITEM_SET_BONUS_GRAY, "%(%%d%)", "^%%(%%d%%)"), " %%s", ""),
["^Effect:"] = gsub("^"..ITEM_SPELL_EFFECT, " %%s", ""),
["^Set:"] = gsub("^"..ITEM_SET_BONUS, "%%s", ""),
["^%(%d%) Set:"] = gsub(gsub(ITEM_SET_BONUS_GRAY, "%(%%d%)", "^%%(%%d%%)"), "%%s", ""),
["^Effect:"] = gsub("^"..ITEM_SPELL_EFFECT, "%%s", ""),
["^Equip:"] = "^"..ITEM_SPELL_TRIGGER_ONEQUIP,
["^Chance on hit:"] = "^"..ITEM_SPELL_TRIGGER_ONPROC,
["^Use:"] = "^"..ITEM_SPELL_TRIGGER_ONUSE,
["^\nRequires"] = "^\n"..gsub(ITEM_REQ_SKILL, " %%s", "")
["^\nRequires"] = "^\n"..gsub(ITEM_REQ_SKILL, "%%s", "")
}
local lines = {}