PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Effective HP pool bugged

オープン
#6,871 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug: calculation
主要言語
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
image
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

https://github.com/PathOfBuildingCommunity/PathOfBuilding/assets/42869616/98939bdc-5f68-482a-8f8b-58194948cf43

https://github.com/PathOfBuildingCommunity/PathOfBuilding/assets/42869616/905d8c29-d3a9-4e65-91e0-fce9d34ea64b

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まずリンクされた build を読み込み、設定手順を再現します。Guardian/Pinnacle と Uber のボスを切り替え、Shaper Slam の範囲とクリティカル率を変更してから、選択をリセットします。これらの設定の変更に伴う実効 HP の計算を追跡し、切り替えを繰り返しても表示されるプールが誤って増加しなくなっていることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
lua
領域
backend
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。