Skip to content

Commit 5c4d4db

Browse files
authored
Fixes #1254: Fix base modifiers showing up as explicit mods (#1341)
1 parent 01aa3d1 commit 5c4d4db

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Classes/Item.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,8 +569,9 @@ function ItemClass:ParseRaw(raw, rarity, highQuality)
569569
self.requirements[specName:sub(1,3):lower()] = specToNumber(specVal)
570570
elseif specName == "Critical Hit Range" or specName == "Attacks per Second" or specName == "Weapon Range" or
571571
specName == "Critical Hit Chance" or specName == "Physical Damage" or specName == "Elemental Damage" or
572-
specName == "Chaos Damage" or specName == "Reload Time" or specName == "Chance to Block" or specName == "Block chance" or
573-
specName == "Armour" or specName == "Energy Shield" or specName == "Evasion" then
572+
specName == "Chaos Damage" or specName == "Fire Damage" or specName == "Cold Damage" or specName == "Lightning Damage" or
573+
specName == "Reload Time" or specName == "Chance to Block" or specName == "Block chance" or
574+
specName == "Armour" or specName == "Energy Shield" or specName == "Evasion" or specName == "Requires" then
574575
self.hidden_specs = true
575576
-- Anything else is an explicit with a colon in it (Fortress Covenant, Pure Talent, etc) unless it's part of the custom name
576577
elseif not (self.name:match(specName) and self.name:match(specVal)) then

0 commit comments

Comments
 (0)