Skip to content

Commit 908600a

Browse files
committed
Fix and or chain logic, dead label, and missing }
1 parent fdf1619 commit 908600a

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/Classes/Item.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,7 @@ function ItemClass:ParseRaw(raw, rarity, highQuality)
998998
if rangedLine:lower():find(pattern) then
999999
local rangedLine = itemLib.applyRange(line, modLine.range or main.defaultItemAffixQuality or 1, catalystScalar, modLine.corruptedRange)
10001000
local amount, increaseOrDecrease, modTagsString = rangedLine:lower():match(pattern)
1001-
if amount and modTagsString and increaseOrDecrease == "increased" or increaseOrDecrease == "decreased" then
1001+
if amount and modTagsString and (increaseOrDecrease == "increased" or increaseOrDecrease == "decreased") then
10021002
local modTags = {}
10031003
local modType
10041004
-- explicit elemental damage -> tags = {elemental, damage}, modType = explicit
@@ -1364,7 +1364,6 @@ function ItemClass:ParseRaw(raw, rarity, highQuality)
13641364
mod.modList = modList
13651365
mod.extra = extra
13661366
end
1367-
::magnitudeContinue::
13681367
end
13691368
end
13701369
end

src/Data/Uniques/staff.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ Grants Skill: Level (1-20) Feast of Flesh
235235
{variant:8}{desecrated}+(40-60) to Spirit
236236
{variant:7}{desecrated}(10-20)% increased Duration of Elemental Ailments on Enemies
237237
{variant:7}{desecrated}(100-160)% increased Elemental Damage
238-
{variant:11{desecrated}Enemies you kill have a (5-10)% chance to explode, dealing a quarter of their maximum Life as Chaos damage
238+
{variant:11}{desecrated}Enemies you kill have a (5-10)% chance to explode, dealing a quarter of their maximum Life as Chaos damage
239239
{variant:9}{desecrated}Enemies you Curse have -(8-5)% to Chaos Resistance
240240
{variant:10}{desecrated}(20-30)% chance to inflict Bleeding on Hit
241241
{variant:8}{desecrated}(6-10)% increased Spirit Reservation Efficiency

0 commit comments

Comments
 (0)