PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Effective HP pool bugged
まだ誰も着手していません。
- 主要言語
- Lua
- スター
- 5.4k
- フォーク
- 2.4k
- 平均マージ
- 1日 12時間
- マージ済み PR(30日)
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まずリンクされた build を読み込み、設定手順を再現します。Guardian/Pinnacle と Uber のボスを切り替え、Shaper Slam の範囲とクリティカル率を変更してから、選択をリセットします。これらの設定の変更に伴う実効 HP の計算を追跡し、切り替えを繰り返しても表示されるプールが誤って増加しなくなっていることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- lua
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100