Repository navigation
Fix Drillneck per-pierce mods not being parsed - #2607
Merged
Wires77 merged 1 commit intoDec 2, 2026
Merged
Conversation
Wires77
approved these changes
Dec 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2560 .
Description of the problem being solved:
Drillneck's per-pierce mods were not applied:
ModParser.luaonly knew the contracted wordingfor each time they've pierced, so thefor each time they have Piercedpart was left unparsed and the whole line was dropped from calculations.Added the
they havewording as a mod tag with the samePerStat/PiercedCounttag as the existing one, and regeneratedModCache.lua. The cache diff only touches the four Drillneck entries (plus one stale merged-line entry and a chunk boundary moved by the regeneration).Steps taken to verify a working solution:
TestItemParse_spec.lua: both lines parse fully, with thePerStat PiercedCounttag and no leftover text.TestAttacks_spec.lua: Shortbow + Drillneck + Lightning Arrow, checks that the damage and crit chance INC sums go up by exactly 50 per pierce at 0, 1 and 2 times pierced (set through the "# of times Skill has Pierced" config).StatThresholdinstead ofPerStat).pathofbuilding-testscontainer: 905 successes / 0 failures.Link to a build that showcases this PR:
Any bow build with Drillneck equipped and "# of times Skill has Pierced" set in the Configuration tab.
Before screenshot:
N/A (the mods were shown as partially unrecognised and had no effect on DPS)
After screenshot:
N/A