Drillneck: "for each time they have Pierced" modifiers are not parsed
Maintainers usually reply within 4 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 80/100
Research direction
Add the uncontracted key next to the existing contracted entry at src/Modules/ModParser.lua:1681, using the same tag { type = "PerStat", stat = "PiercedCount" }; the game-data strings UniqueProjectileIncreasedDamagePerPierce1 and UniqueProjectileIncreasedCriticalHitChancePerPierce1 in src/Data/ModItemExclusive.lua show the exact wording to match. Then regenerate src/Data/ModCache.lua so the leftover " for each time they have Pierced " suffix disappears from the Drillneck lines. Verify by equipping Drillneck, setting "# of times Skill has Pierced" in Configuration, and confirming DPS and crit chance change; the related "Attack Projectiles Return if they Pierced" line at ModCache.lua:6616 is out of scope.
Written by the indexing model from the issue text.
Description
Drillneck (Penetrating Quiver) has two per-pierce modifiers:
Projectiles deal (42-64)% increased Damage with Hits for each time they have Pierced
Projectiles have (42-64)% increased Critical Hit chance for each time they have Pierced
PoB parses the increase but not the condition, so part of each line is left unparsed and neither line is applied, whatever the pierce count is. The generated cache records the remainder:
src/Data/ModCache.lua:8996
c["Projectiles deal 64% increased Damage with Hits for each time they have Pierced"]={{[1]={flags=1024,keywordFlags=262144,name="Damage",type="INC",value=64}}," for each time they have Pierced "}
The game-data wording is "they have Pierced" (src/Data/ModItemExclusive.lua, UniqueProjectileIncreasedDamagePerPierce1 and UniqueProjectileIncreasedCriticalHitChancePerPierce1). ModParser.lua only has the contracted form:
-- src/Modules/ModParser.lua:1681 (dev bb52d6b)
["for each time they've pierced"] = { tag = { type = "PerStat", stat = "PiercedCount" } },
Proposed fix
Add the uncontracted wording next to it, with the same tag, then regenerate ModCache.lua:
["for each time they have pierced"] = { tag = { type = "PerStat", stat = "PiercedCount" } },
Repro
- Equip Drillneck with a projectile skill.
- In Configuration, set "# of times Skill has Pierced" to 1 or 2.
- Damage and crit chance do not change.
Measured effect
With the two lines reworded to "they've Pierced" (which PoB parses), a Frostbolt build against the boss preset:
| # of times Skill has Pierced | Frostbolt DPS | Crit chance |
|---|---|---|
| 0 | 3,572 | 11.4% |
| 1 | 12,660 | 39.1% |
| 2 | 27,308 | 66.8% |
With the item's own wording, every pierce count reads as the first row.
Not in this report
"Attack Projectiles Return if they Pierced at least (2-4) times" is also unparsed (ModCache.lua:6616). Return is a separate mechanic, so it would be a separate report.
- Dominant language
- Lua
- Stars
- 1.9k
- Forks
- 455
- Avg merge
- 6d 6h
- Merged PRs (30d)
- 25
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PathOfBuildingCommunity/PathOfBuilding-PoE2
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
PathOfBuildingCommunity/PathOfBuilding-PoE2#2156 · 1 comment ·
Maintainers usually reply within 4 days
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
PathOfBuildingCommunity/PathOfBuilding-PoE2#1857 · 2 comments · 1 reaction ·
Maintainers usually reply within 4 days
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 50/100
PathOfBuildingCommunity/PathOfBuilding-PoE2#2558 · 3 comments ·
Maintainers usually reply within 4 days
-
Difficulty 4/5 3-5 days Newbie friendliness 50/100
PathOfBuildingCommunity/PathOfBuilding-PoE2#2556 ·
Maintainers usually reply within 4 days
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
PathOfBuildingCommunity/PathOfBuilding-PoE2#2552 ·
Maintainers usually reply within 4 days
All issues in PathOfBuildingCommunity/PathOfBuilding-PoE2
Similar issues
-
omarchy-menu-keybindings lua bind scan spins at 100% CPU when user config iterates a mocked hl APIOpen
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
omacom/omarchy#14302 · 1 comment ·
Maintainers usually reply within 1 day
-
BUG
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
linuxmint/cinnamon-spices-applets#9091 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Nevcairiel/GatherMate2#62 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 85/100