Skip to content

Implementation of Split Personality Jewel - #738

Merged
LocalIdentity merged 1 commit into
PathOfBuildingCommunity:devfrom
dclamage:split-personality
Apr 13, 2020
Merged

LocalIdentity merged 1 commit into
PathOfBuildingCommunity:devfrom
dclamage:split-personality

Conversation

@dclamage

@dclamage dclamage commented Apr 7, 2020

Copy link
Copy Markdown
Contributor

Added PassiveSpecClass:SetNodeDistanceToClassStart function to calculate the allocated distance from each allocated jewel socket to the class' node start.

  • Uses as similar algorithm to other pathing functions in the file
  • This is Dijkstra's algorithm

Allocated jewel node tooltips show the distance to start to help the user determine the best socket to use.

Added Split Personality to the uniques list

  • Allows selecting both properties similar to Watcher's Eye

Used the jewel scale modifier which was already implemented for abyss jewels in stygians

  • This modifier can now also come from the jewel itself
  • The cached distance to the class' start is used to calculate the scale

@dclamage
dclamage force-pushed the split-personality branch from 92eb271 to 4f3cc33 Compare April 7, 2020 20:41
@dclamage

dclamage commented Apr 7, 2020

Copy link
Copy Markdown
Contributor Author

Distance is in tooltip:
2020-04-07-13-19-18

Dropdowns to configure the jewel, as well as each jewel socket having a different effect because of the distance-based scaling of the modifiers:
2020-04-07-13-19-46

@LocalIdentity LocalIdentity linked an issue Apr 8, 2020 that may be closed by this pull request
@LocalIdentity LocalIdentity added the enhancement New feature, calculation, or mod label Apr 8, 2020
@mitant

mitant commented Apr 9, 2020

Copy link
Copy Markdown

Thanks for doing this work! I tested it locally and it appears to calculate correctly. I do question the legitimacy of the hover tooltips regarding replacing a cluster jewel that the split personality jewel is allocated under, but that's a separate issue, I think.

@NickRyder NickRyder left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

very well done - thanks for this contribution!

@LocalIdentity
LocalIdentity merged commit 661e67b into PathOfBuildingCommunity:dev Apr 13, 2020
@dclamage
dclamage deleted the split-personality branch April 13, 2020 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature, calculation, or mod

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Split Personality Prismatic Jewel - Unique

4 participants