PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Allow Toggle to shut off 'Have you attacked recently' and 'Have you cast a spell recently' when primary skill is tagged Attack/Spell
まだ誰も着手していません。
- 主要言語
- Lua
- スター
- 5.4k
- フォーク
- 2.4k
- 平均マージ
- 1日 12時間
- マージ済み PR(30日)
- 26
説明
Check for duplicates
- I've checked for duplicate issues by using the search function of the issue tracker
Is your feature request related to a problem?
The current implementation of 'Have you attacked Recently' and 'Have you cast a spell recently' checkboxes assumes true if the primary skill gem has the Attack or Spell tag respectively.
I'm running a holy relic guardian. My main skill is 'Summon Holy Relic'. This is the skill I normally want to see the DPS/stats from in PoB. This gem has the 'Spell' tag, so PoB is using this to assert that I've cast a spell recently.
I've taken the ascendency node Bastion of Hope, which states 'If you've cast a spell recently, you and nearby allies have 10% chance to block spell damage'.
However, holy relics are semi-permanent.... the only time I cast them is when they die, which is rare. I use cyclone to trigger the holy relics, so I'm channeling, but rarely actually casting a spell. So most of the time, 'Have you cast a spell recently' is false, I have not. In-game I will not usually have this extra spell block chance.
You can switch the skill to a different one in PoB (i.e. an attack skill, cyclone) to see the right spell block values, but that's really a workaround.
Also, switching to cyclone adds regular block chance, since bastion of hope also states 'If you've attacked recently, you and nearby allies have 10% chance to block attack damage'. But this is also often false. This is only triggered when you 'attack', which appears to only be true with cyclone when you initially engage the skill. As you channel cyclone, this buff falls off, regardless of whether you're hitting enemies. (tested in-game while observing the tooltip window).
If you're mostly spinning-to-win and just holding cyclone on, you won't be considered to have attacked recently most of the time either.
Describe the solution you'd like
It would be nice if we could forcibly disable the 'Have you attacked recently' and 'Have you cast a spell recently' checkboxes when they're assumed to be enabled due to the gem tags. The current implementation is misleading for builds that use minion (spell) skills and channeling attack skills like cyclone.
Describe alternatives you've considered
Switching the skill to a non-attack or non-spell skill shows the correct values, but it means I have to switch skills each time I mess with the tree/gear setups in order to see accurate block/spell block chances.
Additional context
No response
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue にはファイル、テスト、エントリーポイントが記載されていません。まず、'Have you attacked recently' と 'Have you cast a spell recently' のコントロールと、プライマリスキルのタグからそれらの値を推測するロジックを見つけてください。完了条件は、ユーザーがこれらの推測された状態を明示的に無効化でき、正確なブロックおよびスペルブロックの計算が維持されることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- lua
- 領域
- game-dev
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100