PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Add decimal (float) support for ailment effect in config

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

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

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

説明

Check for duplicates
  • I've checked for duplicate open and closed issues by using the search function of the issue tracker
What platform are you running Path of Building on?

Windows

Is your feature request related to a problem?

In the config tab, the "effect of ailment" fields do not allow you to input decimals, restricting you to whole numbers.

Describe the solution you'd like

I'd like to be able to specify a decimal rather than being limited to whole numbers. This is mostly relevant for brittle, but might as well do it for the others too.

Ex: Being able to input 2.6 "effect of brittle" instead of having to round to 2 or 3

Describe alternatives you've considered

No response

Additional context

No response

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

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

はじめの一歩

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

調査の方向性

まず、config タブの ailment 効果の入力処理と、それが使用する検証または値変換ロジックを特定します。現在 brittle フィールドやその他の ailment フィールドが小数をどのように拒否しているかを確認し、そのうえで 2.6 のような小数値が関連する各フィールドで受け入れられ、保持されることを検証します。

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

評価

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

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

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