From 4c43439e072233938e84719fb5c0f6e2184319ea Mon Sep 17 00:00:00 2001 From: Wires77 Date: Tue, 9 Sep 2025 12:14:32 -0500 Subject: [PATCH] Fixes #1254: Fix base modifiers showing up as explicit mods --- src/Classes/Item.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Classes/Item.lua b/src/Classes/Item.lua index 0f472fa0a0..06e0a574ea 100644 --- a/src/Classes/Item.lua +++ b/src/Classes/Item.lua @@ -569,8 +569,9 @@ function ItemClass:ParseRaw(raw, rarity, highQuality) self.requirements[specName:sub(1,3):lower()] = specToNumber(specVal) elseif specName == "Critical Hit Range" or specName == "Attacks per Second" or specName == "Weapon Range" or specName == "Critical Hit Chance" or specName == "Physical Damage" or specName == "Elemental Damage" or - specName == "Chaos Damage" or specName == "Reload Time" or specName == "Chance to Block" or specName == "Block chance" or - specName == "Armour" or specName == "Energy Shield" or specName == "Evasion" then + specName == "Chaos Damage" or specName == "Fire Damage" or specName == "Cold Damage" or specName == "Lightning Damage" or + specName == "Reload Time" or specName == "Chance to Block" or specName == "Block chance" or + specName == "Armour" or specName == "Energy Shield" or specName == "Evasion" or specName == "Requires" then self.hidden_specs = true -- Anything else is an explicit with a colon in it (Fortress Covenant, Pure Talent, etc) unless it's part of the custom name elseif not (self.name:match(specName) and self.name:match(specVal)) then