-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ゲームシステム固有コマンドのResult対応をする #423
Comments
ネクロニカ、コードレイヤード、スカイノーツ、ガラコあたりは中身をよく見ているので実装し次第PRを出します。 |
Merged
This was referenced Apr 27, 2021
This was referenced Apr 28, 2021
Merged
Merged
This was referenced Apr 28, 2021
Merged
Merged
Merged
This was referenced Apr 30, 2021
Merged
Merged
This was referenced May 18, 2021
Merged
Merged
Merged
FredGreenfield
added a commit
to FredGreenfield/BCDice
that referenced
this issue
Nov 11, 2022
ysakasin
pushed a commit
that referenced
this issue
Nov 14, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BCDice 3.0.0でコマンドの 成功/失敗/クリティカル/ファンブル が判別できるように
Result
という仕組みを導入した。一部のコマンドでのみ利用されている状態なので、各ゲームシステムの固有コマンドに適用する。Resultの仕様
Resultでは
text
,success
,failure
,critical
,fumble
を設定するtext
: String, 結果の文字列全体success
: true / false, コマンドの結果が成功ならtruefailure
: true / false, 失敗ならtruecritical
: true / false, クリティカルならtruefumble
: true / false, ファンブルならtrueResult.success
などの生成用メソッドが用意済み。制約
success
とfailure
は同時にtrueにならない注記
check_nDx
系は全てresult_ndx
に移行したため対応済み(#418)対応状況
The text was updated successfully, but these errors were encountered: