Drillneck: "for each time they have Pierced" modifiers are not parsed
维护者通常 4 天内回复
还没有人认领这个 Issue。
评估
调研方向
在 src/Modules/ModParser.lua:1681 的现有已收缩条目旁边添加未收缩键,使用相同的标签 { type = "PerStat", stat = "PiercedCount" };src/Data/ModItemExclusive.lua 中的游戏数据字符串 UniqueProjectileIncreasedDamagePerPierce1 和 UniqueProjectileIncreasedCriticalHitChancePerPierce1 显示了要匹配的确切措辞。然后重新生成 src/Data/ModCache.lua,使残留的 " for each time they have Pierced " 后缀从 Drillneck 行中消失。通过装备 Drillneck、在 Configuration 中设置 "# of times Skill has Pierced",并确认 DPS 和暴击几率发生变化来进行验证;ModCache.lua:6616 处相关的 "Attack Projectiles Return if they Pierced" 行不在本次范围内。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Lua
- 星标
- 1.9k
- 派生
- 455
- 平均合并
- 6 天 6 小时
- 30 天内合并 PR
- 25
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PathOfBuildingCommunity/PathOfBuilding-PoE2 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
PathOfBuildingCommunity/PathOfBuilding-PoE2#2156 · 1 条评论 ·
维护者通常 4 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
PathOfBuildingCommunity/PathOfBuilding-PoE2#1857 · 2 条评论 · 1 个 reaction ·
维护者通常 4 天内回复
-
enhancement
难度 4/5 3-5 天 新手友好度 48/100
PathOfBuildingCommunity/PathOfBuilding-PoE2#2562 ·
维护者通常 4 天内回复
-
Build Planner Path Setting可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭enhancement
难度 3/5 1-2 天 新手友好度 50/100
PathOfBuildingCommunity/PathOfBuilding-PoE2#2558 · 3 条评论 ·
维护者通常 4 天内回复
-
难度 4/5 3-5 天 新手友好度 50/100
PathOfBuildingCommunity/PathOfBuilding-PoE2#2556 ·
维护者通常 4 天内回复
查看 PathOfBuildingCommunity/PathOfBuilding-PoE2 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
jellyfin/jellyfin-mpv-shim#800 ·
维护者通常 1 天内回复
-
agent-research-finding bug
难度 2/5 1-3 小时 新手友好度 78/100
jordansmall/nixvim-config#99 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 67/100
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 64/100
LazyVim/LazyVim#7270 · 3 条评论 ·
维护者通常 2 天内回复