Skip to content

Mastery Mod (Not Supported) losing relationship to mod, when assigning masteries#9893

Open
soratidus999 wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
soratidus999:masteryhover
Open

Mastery Mod (Not Supported) losing relationship to mod, when assigning masteries#9893
soratidus999 wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
soratidus999:masteryhover

Conversation

@soratidus999

@soratidus999 soratidus999 commented Jun 23, 2026

Copy link
Copy Markdown

No reported Issues Fixed

Description of the problem being solved:

When assigning masteries, the (Not Supported in PoB Yet) text loses its relationship with the underlying mod its tooltipping, if Mod 3 and Mod 4 are unsupported but mod 1 is already assigned a mastery. it simply shifts the index down

Steps taken to verify a working solution:

  1. Side by side comparison of trees in dev build vs 2.65.0.

Link to a build that showcases this PR:

Demo tree only https://pobb.in/Y3K_UFscbIzl

Before screenshot:

image image

After screenshot:

image

/First MR to the project

Copilot AI review requested due to automatic review settings June 23, 2026 02:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes an indexing/association bug in PassiveTreeViewClass:AddNodeTooltip where the “(Not Supported in PoB Yet)” styling/tooltip could attach to the wrong mastery mod when some mastery options are filtered out due to already being selected elsewhere.

Changes:

  • Iterates through all mastery effect stat lines to keep a consistent global lineCount index, even when an effect is already selected and not displayed.
  • Only renders tooltip lines for non-selected mastery effects while preserving the underlying index progression used by node.mods[...].

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@soratidus999

Copy link
Copy Markdown
Author

apologies for the copilot spam, that now turned off...

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.

2 participants