Fix unparsed item text "Block chance"
This commit is contained in:
@@ -574,8 +574,8 @@ function ItemClass:ParseRaw(raw, rarity, highQuality)
|
||||
self.requirements[specName:sub(1,3):lower()] = specToNumber(specVal)
|
||||
elseif specName == "Critical Strike Range" or specName == "Attacks per Second" or specName == "Weapon Range" or
|
||||
specName == "Critical Strike Chance" or specName == "Physical Damage" or specName == "Elemental Damage" or
|
||||
specName == "Chaos Damage" or specName == "Chance to Block" or specName == "Armour" or
|
||||
specName == "Energy Shield" or specName == "Evasion" then
|
||||
specName == "Chaos Damage" or specName == "Chance to Block" or specName == "Block chance" or
|
||||
specName == "Armour" or specName == "Energy Shield" or specName == "Evasion" 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
|
||||
|
||||
Reference in New Issue
Block a user