[SW2.x] 威力コマンドにおいて、初回のみ片方の出目を固定したうえで振り足し時には適用しないオプションを追加#121
Open
ViVi-shark wants to merge 1 commit into
Open
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.
変更内容
『SW2.x』の威力コマンドにおいて、「初回のみ片方の出目を固定したうえで振り足し時には適用しない」オプションを追加
目的
『ドーデン博物誌』21頁にある秘伝《岩脈正中撃》のような挙動を実現するため。
《岩脈正中撃》は地方サプリメントの秘伝ではあるが、
という二点から、機能として対応する価値があるものと考えられる。
仕様(記法)
$mXまたは出目mX(Xは固定する出目の値)と記述することで、初回のみ出目を X に固定し、クリティカル後の振り足しでは考慮しない、という挙動になる。記法の検討
この記法は、既存の出目固定(振り足し後も継続)の記法
$nXを踏襲して派生させたものである。nの代わりにmとしたのは、数学などにおいて、整数が2つあるときに(ひとつめはnとして、nの次に)採用されることが多い文字であるため。mではなく何らかの特殊な記号をもちいる可能性についても考えたが、ASCIIの範囲では、という性質の記号が大多数であり、残されたわずかな記号(
&や%など)を本機能で消費するのは妥当でないと考えた。コマンド例
たとえば威力40、クリティカル値10、追加ダメージ13の《岩脈正中撃》は次のようになる:
k40[10]+13$m6