PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Effective HP pool bugged
还没有人认领这个 Issue。
- 主要语言
- Lua
- 星标
- 5.4k
- 派生
- 2.4k
- 平均合并
- 1 天 12 小时
- 30 天内合并 PR
- 26
描述
Check version
- I'm running the latest version of Path of Building and I've verified this by checking the changelog
Check for duplicates
- I've checked for duplicate issues by using the search function of the issue tracker
Check for support
- I've checked that the calculation is supposed to be supported. If it isn't please open a feature request instead (Red text is a feature request).
What is the value from the calculation in-game?
I used to have a value of around 64k effective HP on my build, but after i went into the config and checked uber shaper slam with 100 %roll and 100% crit then back to no boss selected and back to guardian/pinnacle boss toggled my Effective HP pool was 451k which is obviously not true
Sadly don't have a ss from before the change happened, but have been able to reproduce the bug (esp if you repeat aforementioned steps, the number will keep increasing)
After writing this entire report and testing it, i cant seem to replicate it on the given file, so i'll attach a second build to showcase it
What is the value from the calculation in Path of Building?
I believe the Effective HP pool isn't properly "cleared" off stats when you change, and thus adding on top of itself each time you "swap" between steps, the actual formula I do not know
How to reproduce the issue
Go into config
Set enemy stats from guardian pinnacle to Ubers
set skill preset to for example shaper slam
change the skill range % from 70 to 100
change crit chance from 0 to 100
set skill preset back to none
set boss back to guardian and keep swapping for number increase change to multiply
Character build code
this happens in any build, but its currently broken in this one
https://pobb.in/qPPnuN7Q-V_F
Screenshots
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先加载链接的 build 并复现配置流程:在 Guardian/Pinnacle 和 Uber boss 之间切换,更改 Shaper Slam 的范围和暴击率,然后重置选择。跟踪这些设置变化时的有效 HP 计算,并验证重复切换不再错误地增加显示的 pool。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- lua
- 领域
- backend
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100