[SwordWorld2.5]公式サーバーで要望のあった機能とアビスカース「難しい」用の機能追加#862
Closed
neutron317 wants to merge 5 commits intobcdice:masterfrom
Closed
[SwordWorld2.5]公式サーバーで要望のあった機能とアビスカース「難しい」用の機能追加#862neutron317 wants to merge 5 commits intobcdice:masterfrom
neutron317 wants to merge 5 commits intobcdice:masterfrom
Conversation
Contributor
Author
|
後のPRと重複するためクローズしました。 |
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.
概要
公式Discordで要望のあった合算ダメージを2倍するコマンドと、アビスカース「難しい」用にある出目以下の威力表の値を0に書き換えるコマンドを追加しました。
また、説明文の衍字を修正しました。
コマンド
・
DBKx, KxDB+Nレーティング表を振った最終結果を二倍します。
HKxやOHKxと同様に、記入方法によって修正項も二倍するか否かを指定できます。クリティカル値を指定しなかった場合の初期値の変更はありません(よって、その場合はクリティカル値は10になります)。このコマンドは、Discordのサーバーである「BCDice Official Chat」に寄せられていた要望をもとに作成しました。具体的な使用例としては、戦闘特技の《狙撃》宣言時などが挙げられます。
・
KxSZyy以下の威力表を0に書き換えます。これを実装する過程でSwordWorld.rbを、
diceの値がcommand.set_zero_valよりも大きい時のみ威力表を参照し、そうでない場合は0にするように編集しました。このコマンドの具体的な使用例としては、アビスカースで「難しい」が付いている武器を使用する時などが挙げられます。
例
入力:
dbk10[9]+10出力:
KeyNo.10c[9]+10 > 2D:[5,3]=8 > (4+10)*2 > 28入力:
k20db+(1+1)出力:
KeyNo.20c[10] > 2D:[2,6]=8 > 6*2+2 > 14入力:
k20+5SZ4出力:
KeyNo.20c[10]sz[4]+5 > 2D:[5,5 1,2]=10,3 > 8,0+5 > 1回転 > 13入力:
k20$+1sz5出力:
KeyNo.20c[10]m[+1]sz[5] > 2D:[3,1]=5 > 0衍字の編集
SwordWorld2_5.rbの37行目/44行目で、「末尾につけた場合、直後に修正ををつけることで、半減後の加減算を行うことができます。」となっていたのを編集しました。