Skip to content

Fix item granted skills permanently modifying skill data - #10528

Merged
Wires77 merged 5 commits into
PathOfBuildingCommunity:devfrom
vaisest:fix-10310
Nov 23, 2026
Merged

Wires77 merged 5 commits into
PathOfBuildingCommunity:devfrom
vaisest:fix-10310

Conversation

@vaisest

@vaisest vaisest commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Fixes #10310, and fixes #10527.

Description of the problem being solved:

It seems the grantedEffect.fromItem = true line was actually modifying the global table which means evaluating the tree node broke the actual support gem until the client was restarted. This works around that by copying the table in initEnv(). This seems to have fixed the problem without breaking other tests

Steps taken to verify a working solution:

  • Test added
  • Tests pass

Link to a build that showcases this PR:

See issues

Before screenshot:

After screenshot:

@Wires77 Wires77 added the bug Something isn't working label Nov 23, 2026
@Wires77
Wires77 merged commit 1176645 into PathOfBuildingCommunity:dev Nov 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

2 participants