Skip to content

Fix abyss jewel passives showing one roll on two lines - #10561

Open
mcagnion wants to merge 2 commits into
PathOfBuildingCommunity:devfrom
mcagnion:bugfix/abyss-same-range-roll
Open

mcagnion wants to merge 2 commits into
PathOfBuildingCommunity:devfrom
mcagnion:bugfix/abyss-same-range-roll

Conversation

@mcagnion

@mcagnion mcagnion commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #10432.

Description of the problem being solved:

An Abyss timeless jewel can give a conquered passive two lines whose stats share a roll range, such as minion Attack Speed and minion Cast Speed, both (2-3)%. PoB put the same rolled value on both lines, even when the jewel rolled different values for the two stats, and the calculation used that value for both. Which roll appeared depended on pairs() order, so it could change from one PoB session to the next.

Each line now takes the roll of its own stat. A line holding several stats, such as an added damage range, still takes all of their rolls, which is why every line is not mapped to a single stat as the issue suggests.

Steps taken to verify a working solution:

  • Added a test where a Zorath passive rolls 3% minion Attack Speed and 2% minion Cast Speed. It fails without the change, whichever stat pairs() visits first.
  • The existing Abyss timeless jewel tests pass, including the Kurgal case with two stats on one damage line.
  • Opened the same build with Reclaimed Malevolence (seed 1984) on dev and on this branch and hovered the same conquered passive: 2% and 2% before, 3% Attack Speed and 2% Cast Speed after.

Before screenshot:

Before: Minions have 2% increased Attack Speed, Minions have 2% increased Cast Speed

After screenshot:

After: Minions have 3% increased Attack Speed, Minions have 2% increased Cast Speed

Reclaimed Malevolence and the other abyss timeless jewels can turn a
passive into two lines with the same roll range, such as "Minions have
(2-3)% increased Attack Speed" and "Minions have (2-3)% increased Cast
Speed". Every stat was substituted into every line in pairs() order, so
whichever stat came first filled both lines, and the result changed
between PoB sessions.

When a passive has one stat per line, each line now takes only its own
stat's roll. Lines holding several stats, such as "12 to (17-19) Added
Spell Cold Damage while Dual Wielding", still take all of them, now in
a fixed order.

Reported in issue 10432.
Hard-code the conquered node and the legion local id in the test, as the other tests of the file do, and describe the multi-stat case without quoting modifier texts.
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.

Abyss timeless jewels: two-line passives with the same roll range show one roll on both lines

1 participant