PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

incorrect evasion calculations when having negative evasion in custom config(to emulate eldritch altars)

オープン
#9,379 コメント 0 件 リアクション 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 open and closed 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 platform are you running Path of Building on?

Windows

What is the value from the calculation in-game?

so when I was checking this bug https://www.pathofexile.com/forum/view-thread/3884196 since they mentioned they had used POB, I imported their juggernaut and added -6000 evasion to the custom config, when checking calculations it shows that negative flat number on the global base line, however when mousing over the total line it seems it completely ignores negative values so it outputs a positive total number instead of the reality which is 0.

What is the value from the calculation in Path of Building?

Base from armours 754
global base -4,284
inc from tree 615%, total 1,207%
total more 30%
Total Line calculation: 754 x13.07 x1.3 getting a positive number
negative global base ignored for final calculation, works correctly when positive

How to reproduce the issue

load attached POB and look at calculations for evasion rating

PoB for PoE1 build code
https://pobb.in/scAUBR461tbR
Screenshots
Image

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

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

はじめの一歩

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

調査の方向性

まずリンクされたPoBビルドを読み込み、負のカスタム設定でCalculationsビューの回避値を確認します。表示された合計値を正の値の場合と比較し、回避計算のエントリーポイントを追跡します。合計値が正の結果を生成するのではなく、負のグローバル基本値を正しく反映すれば完了です。

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

評価

技術スタック
lua
領域
desktop
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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