diff --git a/src/Classes/Tooltip.lua b/src/Classes/Tooltip.lua index 6041d8866..e7763d377 100644 --- a/src/Classes/Tooltip.lua +++ b/src/Classes/Tooltip.lua @@ -98,6 +98,7 @@ function TooltipClass:AddSeparator(size) if self.tooltipHeader then local rarity = tostring(self.tooltipHeader):upper() + -- spell-checker: disable local separatorConfigs = { RELIC = "Assets/itemsseparatorfoil.png", UNIQUE = "Assets/itemsseparatorunique.png", @@ -106,6 +107,7 @@ function TooltipClass:AddSeparator(size) NORMAL = "Assets/itemsseparatorwhite.png", GEM = "Assets/itemsseparatorgem.png", } + -- spell-checker: enable local separatorPath = separatorConfigs[rarity] or separatorConfigs.NORMAL if not self.separatorImage or self.separatorImagePath ~= separatorPath then @@ -288,6 +290,7 @@ function TooltipClass:Draw(x, y, w, h, viewPort) ttW = titleW + 50 end end + -- spell-checker: disable local headerInfluence = { Fractured = "Assets/fractureditemsymbol.png", Desecrated = "Assets/veileditemsymbol.png", @@ -309,6 +312,7 @@ function TooltipClass:Draw(x, y, w, h, viewPort) ORACLE_NOTABLE = {left="Assets/oraclenotablepassiveheaderleft.png", middle="Assets/oraclenotablepassiveheadermiddle.png", right="Assets/oraclenotablepassiveheaderright.png", height=38, sideWidth=38, middleWidth=32, textYOffset=4}, ORACLE_KEYSTONE = {left="Assets/oraclekeystonepassiveheaderleft.png", middle="Assets/oraclekeystonepassiveheadermiddle.png", right="Assets/oraclekeystonepassiveheaderright.png", height=38, sideWidth=32, middleWidth=32, textYOffset=4}, } + -- spell-checker: enable local config if self.tooltipHeader and main.showFlavourText and self.lines[1] and self.lines[1].text then local rarity = tostring(self.tooltipHeader):upper()