Skip to content

Preserve rolls in multiline item modifiers - #10606

Open
zubSero wants to merge 2 commits into
PathOfBuildingCommunity:devfrom
zubSero:fix/10540-multiline-mod-rolls
Open

zubSero wants to merge 2 commits into
PathOfBuildingCommunity:devfrom
zubSero:fix/10540-multiline-mod-rolls

Conversation

@zubSero

@zubSero zubSero commented Nov 26, 2026 •

Copy link
Copy Markdown

Fixes #10540.

Description of the problem being solved:

When a modifier wraps onto a second line and the roll is on that second line, PoB didn't parse the 230(200-250) part and read it as one number. On Khatal's Geyser that turned 230% into 230225%, which is where the 11,539% cast speed from Arcane Surge in the report came from.

The roll parsing now runs on the continuation line too. Builds that were saved with the broken value load correctly again.

Steps taken to verify a working solution:

  • Added tests for pasting the item, parsing it again, and loading a saved build that contains the bad line.
  • Loaded the build from the issue. Arcane Surge gives 39.5% increased cast speed instead of 11,539%.

Link to a build that showcases this PR:

https://maxroll.gg/poe/pob/jh4qrh0g

Before screenshot:

Arcane Surge adds 11,539.25% cast speed

After screenshot:

Arcane Surge adds 39.5% cast speed

@zubSero
zubSero force-pushed the fix/10540-multiline-mod-rolls branch from 90e6620 to f7f0ca6 Compare November 27, 2026 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Khatal's Geyser + Lavianga's Spirit+ The Tides of time causes 11,539% increased Cast Speed from Arcane Surge

1 participant