簡易的にステータスを増減させる機能に、「0にする」選択肢と「最大値にする」選択肢を追加#86
Draft
ViVi-shark wants to merge 2 commits into
Draft
Conversation
5d08d27 to
c52de5d
Compare
Owner
|
これを入れるなら個人的には (同様のものとして、「HPを0未満にする選択肢」の存在もある。SWのHPは0では止まらないので、現在HPが「1」であっても「-2」以降も欲しいが、現状だと0未満になる選択肢は削られて「-1」までしか出ない) |
Contributor
Author
|
一理あると思ったので改善を図ります |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
変更内容
簡易的にステータスを増減させる機能( b775706 )に、以下の選択肢を追加する。
動作イメージ
仕様
目的
0 にする選択肢
さまざまなゲームにおいて、数値項目のデフォルト値が 0 であるルールや、 0 が実質的な下限であるルールがある。
そのようなケースでは、数値を 0 に変更したいことがときおり発生する。
(たとえば、“値が蓄積されていくが、特定の機会にそれがリセットされる”ようなルールがみられる。『SW2.5』の「陣気」など)
最大値にする選択肢
一般に、最大値の存在する数値項目においては、最大値がデフォルト値となっている例が多い。(多くのゲームにおける“HP”はこの典型的な例である)
そのようなケースでは、数値をリセットする意味合いで最大値に変更したいことがしばしば発生する。(“HP”の例でいえば、“全回復”のような処理が該当する)
備考(2024/10/09 13:43追記)
chat-common.css の変更は、「最大値」が3桁以上のときに折り返されてしまうのを回避するためのもの。