Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Cluster Jewel imports not allocating correctly #7270

Merged

Conversation

sida-wang
Copy link
Contributor

  • Tidy up in BuildClusterJewelGraphs() to prevent allocSubgraphNodes and allocExtendedNodes from having duplicate nodes
  • Add in orbitOffsets into ClusterJewels.lua via export. Credit to Wires77 Export cluster jewel index data, mess with jewel rendering logic #4302 for figuring this out
  • Update the logic that calculates the orbitIndex in BuildSubgraph to use orbitOffsets

Fixes #7210 .

Description of the problem being solved:

Cluster Jewel imports were not being imported correctly due to the downsizing of proxy groups. This PR updates the process by using StartIndices from PassiveJewelSlots.lua to set the orbit index offsets for respective orbit sizes.

Positioning of the cluster jewel passives also now accurately in-game visuals as a result of this PR.

Steps taken to verify a working solution:

  • Tested import from linked issue.

After screenshot:

image

sida-wang and others added 2 commits January 21, 2024 01:43
- Tidy up in BuildClusterJewelGraphs() to prevent allocSubgraphNodes and allocExtendedNodes from having duplicate nodes
- Add in orbitOffsets into ClusterJewels.lua via export. Credit to Wires77 PathOfBuildingCommunity#4302 for figuring this out
- Update the logic that calculates the orbitIndex in BuildSubgraph to use orbitOffsets
@Wires77
Copy link
Member

Wires77 commented Jan 20, 2024

This is great, so glad you figured it out. I spent a long time staring at this code trying to find the issue previously to no avail.

@sida-wang sida-wang added the bug: behaviour Behavioral differences label Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: behaviour Behavioral differences
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Small cluster jewels nodes are not allocated (related to wrong orbit indexes)
3 participants