General's Cry Incorrect Behavior with Blade Flurry

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
lua
領域
game-dev

調査の方向性

General's Cry と Blade Flurry の Calcs パスから始め、リンクされたキャラクタービルドで膨らんだ Skill DPS を再現し、チャネル段階と攻撃速度がどのように適用されるかを追跡します。0.6 秒のチャネル制限と 1 回の攻撃制限が DPS に影響し、攻撃速度のツールチップは変更されない状態になれば完了です。

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

説明

bug: behaviour
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 behaviour is supposed to be supported. If it isn't please open a feature request instead (Red text is a feature request).
What is the behaviour in-game?

Mirage Warriors will either:

  • Channel for up to 0.6sec -> release -> disappear (0.6sec channel time cap)
  • Channel up to 6 stacks -> release -> disappear (1 attack cap)
What is the behaviour in Path of Building?

It seems that Path of Building ignores the 0.6sec channel time cap and 1 max attack cap for Blade Flurry, instead it multiplies the average damage by the attack rate. This leads to a highly inflated DPS.

I suggest the following solution:

  • Cap the maximum number of stages providing a bonus to effective_max_stages = min(floor(attack_rate * general_cry_max_channel_time), base_max_stages).
  • Multiply the DPS by effective_max_stages/attack_rate to normalize it over 1 second, i.e. get the total damage done per 0.6sec of channeling, similar to non-channeled skills.

This way we can get a much more accurate read on the expected damage, without removing/modifying the tooltip about the attack rate, which is important for gearing, and the only remaining step to get the actual DPS is isolated to managing the warcry cooldown and spawning rate of the warriors.

How to reproduce the issue
  1. Add General's Cry, Blade Flury and equip a valid weapon
  2. Go to Calcs, select and highlight Skill DPS
Character build code
https://pastebin.com/L449UAZX
Screenshots

GeneralsCry

主要言語
Lua
スター
5.4k
フォーク
2.4k
平均マージ
1日 12時間
マージ済み PR(30日)
26

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

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

はじめの一歩

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

PathOfBuildingCommunity/PathOfBuilding のほかの issue

PathOfBuildingCommunity/PathOfBuilding の issue をすべて見る

似ている issue

Lua の issue をもっと見る

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

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