[SwordWorld2.5]公式discordで要望のあった機能&アビスカース「難しい」に応じた機能の追加#865
Open
neutron317 wants to merge 7 commits intobcdice:masterfrom
Open
[SwordWorld2.5]公式discordで要望のあった機能&アビスカース「難しい」に応じた機能の追加#865neutron317 wants to merge 7 commits intobcdice:masterfrom
neutron317 wants to merge 7 commits intobcdice:masterfrom
Conversation
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」に寄せられていた要望をもとに作成しました。具体的な使用例としては、戦闘特技の《狙撃》宣言時(基本ルールブック1巻 293p)などが挙げられます。
・
KxADyダメージ算出においてクリティカルした場合、クリティカル数×yを値に追加します。
このコマンドは、Discordのサーバーである「BCDice Official Chat」に寄せられていた要望をもとに作成しました。具体的な使用例としては、〈肉喰む顎〉使用時(公式サプリメントタイラントクリプト 107p)などが挙げられます。
・
KxSZyy以下の威力表を0に書き換えます。これを実装する過程でSwordWorld.rbを、
diceの値がcommand.set_zero_valよりも大きい時のみ威力表を参照し、そうでない場合は0にするように編集しました。このコマンドの具体的な使用例としては、アビスカースで「難しい」が付いている武器を使用する時(基本ルールブック2巻 284p)などが挙げられます。
例
入力:
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入力:
K20ad2出力:
KeyNo.20c[10]ad[2] > 2D:[5,2]=7 > 5入力:
K20+5#1ad2出力:
KeyNo.20c[10]ad[2]a[+1]+5 > 2D:[5,4 2,2]=10,5 > 8,3+5+2*1 > 1回転 > 18入力:
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行目で、「末尾につけた場合、直後に修正ををつけることで、半減後の加減算を行うことができます。」となっていたのを編集しました。