Skip to content

Add support for Baryanic Leylines (Disciple of Varashta)#1804

Open
awlego wants to merge 4 commits into
PathOfBuildingCommunity:devfrom
awlego:baryanic-leylines
Open

Add support for Baryanic Leylines (Disciple of Varashta)#1804
awlego wants to merge 4 commits into
PathOfBuildingCommunity:devfrom
awlego:baryanic-leylines

Conversation

@awlego

@awlego awlego commented Apr 23, 2026

Copy link
Copy Markdown

Description of the problem being solved:

Adds support for Baryanic Leylines (Disciple of Varashta). The tree entry for "Non-Unique Time-Lost Jewels have 40% increased radius" existed but had no parser, so allocating the notable did nothing.

  • ModParser.lua parses the stat into a NonUniqueTimeLostJewelRadius INC mod.
  • Data.lua adds four precomputed +40% radius tiers plus a resolveTimeLostRadiusIndex helper keyed by percent.
  • CalcSetup.lua and PassiveTreeView.lua call the helper so in-radius calcs, the socket ring, and node tooltips all use the upgraded radius on non-unique Time-Lost jewels.
  • ModCache.lua regenerated; new spec added.

Steps taken to verify a working solution:

  • Launched PoB from the dev branch plus this change, picked a Sorceress, allocated Disciple of Varashta → Baryanic Leylines.
  • With Alt held over the notable, confirmed the stat line parses as NonUniqueTimeLostJewelRadius INC 40
  • Socketed a non-unique Time-Lost Ruby with an explicit Small Passives in Radius also grant X% roll into an allocated jewel socket; recorded which passives it affected before allocating Baryanic Leylines.
  • Allocated Baryanic Leylines and confirmed via Alt-hover on individual passives that a node previously outside the base radius now receives the jewel's bonus (e.g. "+3% increased Armour from the Time-Lost Jewel"), and that the ring drawn on the tree for the socket visibly expands.
  • De-allocated Baryanic Leylines and confirmed both the affected-passive list and the drawn ring return to baseline.
  • Confirmed Against the Darkness (unique Time-Lost Diamond) is unaffected — its radius stays the same with Baryanic Leylines allocated, per the "Non-Unique" qualifier.
  • Added TestBaryanicLeylines_spec.lua

Link to a build that showcases this PR:

Before screenshot:

(without Baryonic Leylines)
image
(with Baryonic Leylines)
image
(and a before shot of a passive outside the ring)
image

After screenshot:

Showing that the Baryanic Leylines node shows that it is supported and the effects it will have on the build.
image
Same build/view on this branch, ring now visibly expanded and a previously-unaffected passive showing the jewel's inherited stats in its tooltip.
image

@LocalIdentity LocalIdentity added the enhancement New feature, calculation, or mod label May 8, 2026
@awlego awlego force-pushed the baryanic-leylines branch 2 times, most recently from 711d527 to ae99b0c Compare May 8, 2026 21:34
@awlego

awlego commented May 8, 2026

Copy link
Copy Markdown
Author

Updated the PR with the latest so modcache should be up to date as well as did some polish around the tooltip.

@awlego

awlego commented May 9, 2026

Copy link
Copy Markdown
Author

Baryanic and Leylines merged into the poe-dict repo so they shouldn't fail cspell now either when CI pulls it.

@awlego

awlego commented May 13, 2026

Copy link
Copy Markdown
Author

@LocalIdentity let me know if there are any requested changes or if there is someone I should add for a review.

@awlego

awlego commented May 21, 2026

Copy link
Copy Markdown
Author

I'll out for the next two weeks, but if there are any requested changes I'll address them when I return.

@bstassel

Copy link
Copy Markdown

Hey @awlego, thanks so much for putting all this together! I started to make these changes today when I was directed to your PR. I forked it and looked over the conflicts. It seems the dev branch had someone clean up the jewel code logic in ModParser.lua, which was simple enough to adapt to your new code.

I fixed the commit issues locally and pushed the updated branch here:

https://github.com/bstassel/PathOfBuilding-PoE2/tree/pr-1804

The Docker test suite passes locally with:

422 successes / 0 failures / 0 errors / 0 pending

Would you be willing to pull or cherry-pick these changes into this PR? I’m also happy to open a separate PR if that would be easier.

awlego and others added 3 commits June 20, 2026 19:41
Parse "Non-Unique Time-Lost Jewels have X% increased radius" into a
NonUniqueTimeLostJewelRadius modifier. When the build has the modifier,
non-unique Time-Lost Jewels swap to a precomputed +40% radius tier for
the in-radius passive computation and for the socket ring drawn on the
tree. Regenerated ModCache.lua accordingly.
- Append "(+X% from tree)" to the jewel tooltip Radius line when a build
  has NonUniqueTimeLostJewelRadius active.
- Skip Time-Lost upgrade radius indexes in the AddNodeTooltip probe set
  unless the build actually has access to them, avoiding unnecessary
  ProcessStats calls per hover.
@awlego awlego force-pushed the baryanic-leylines branch from ae99b0c to 3fbb50f Compare June 21, 2026 02:44
- Regenerated the NonUniqueTimeLostJewelRadius entry in ModCache.lua against
  0.5.3 data so it no longer carries the stale Offering SkillType enum from the
  pre-0.5.3 base.
- Removed a duplicate `local effectiveRadiusIndex` declaration (and stray double
  space) in PassiveTreeView drawJewelRadius.
@awlego awlego force-pushed the baryanic-leylines branch from 3fbb50f to 66deb55 Compare June 21, 2026 02:47
@awlego

awlego commented Jun 21, 2026

Copy link
Copy Markdown
Author

Hey @bstassel I'm happy to pull yours in.

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.

3 participants