Skip to content
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

ヘルプメッセージのTypoを修正 #391

Merged
merged 2 commits into from
Feb 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
### 誤植修正
- モノトーンミュージアムRPG: 歪み表(館・城)のエラッタを反映。えいむさんありがとうっ! ([#375](https://github.com/bcdice/BCDice/pull/375))
- ブラッド・クルセイド: 先制判定指定特技表とシーン表の誤植を修正。ViViさんありがとうっ! ([#383](https://github.com/bcdice/BCDice/pull/383), [#384](https://github.com/bcdice/BCDice/pull/384))
- いくつかのゲームシステムのヘルプメッセージにあった誤植を修正。円柱さん報告ありがとうっ! ([#390](https://github.com/bcdice/BCDice/issues/390))

### バグ修正
- ビーストバインド トリニティ: 判定コマンドで大きい出目2個を取る処理が欠けていたのを修正 ([#386](https://github.com/bcdice/BCDice/pull/386))
Expand Down
2 changes: 1 addition & 1 deletion lib/bcdice/game_system/CardRanker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class CardRanker < Base
ランダム分野表 RCT
特定のモンスターカードを選ぶ (CMxy x:色、y:番号)
 白:W、青:U、緑:V、金:G、赤:R、黒:B
 例)CMW1→白の2:白竜 CMG12→金の12:土精霊
 例)CMW2→白の2:白竜 CMG12→金の12:土精霊
場所表 (ST)
街中場所表 (CST)
郊外場所表 (OST)
Expand Down
2 changes: 1 addition & 1 deletion lib/bcdice/game_system/Garako.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Garako < Base
HELP_MESSAGE = <<~MESSAGETEXT
・判定 GR+n#f>=X (+n:判定値、#f:不安定による自動失敗基準値、X:目標値、それぞれ省略可能)
・部位決定チャート:HIT
・ダメージ+部位決定:GAHn(n:火力)
・ダメージ+部位決定:GHAn(n:火力)
・ダメージチャート:xDCy(CDC/EDC/FDC/ADC/LDC )
・ダメージチャートver2:xDTy(CDT/EDT/FDT/ADT/LDT)
 xは C:コックピット、E:エンジン、F:フレーム、A:アーム、L:レッグ
Expand Down
2 changes: 1 addition & 1 deletion lib/bcdice/game_system/LostRoyal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class LostRoyal < Base
行為判定
 LR[x,x,x,x,x,x]
  x の並びには【判定表】の数値を順番に入力する。
  (例: LR[1,3,0,1,2] )
  (例: LR[1,3,0,1,2,3] )

ファンブル表
 FC
Expand Down
2 changes: 1 addition & 1 deletion lib/bcdice/game_system/Skynauts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Skynauts < Base
◆砲撃判定+ダメージチェック (BOMn/Dx/y@m) n:目標値(省略時:7)
 x:ダメージ左側の値、y:ダメージ右側の値
 m:《弾道学》(省略可)上:8、下:2、左:4、右:6
 例) BOM/D/4 BOM9/D19@4
 例) BOM/D/4 BOM9/D19/2@4
◆《回避運動》 (AVOn@mXX) n:目標値(省略時:7)
 m:回避方向。上:8、下:2、左:4、右:6、XX:ダメージチェック結果
 例)
Expand Down
2 changes: 1 addition & 1 deletion lib/bcdice/game_system/Torg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Torg < Base
 ・ボーナス表「BTx+y or BONUSx+y or TOTALx+y」 xは数値, yは技能基本値
INFO_MESSAGE_TEXT

register_prefix('TG.*', '1R20.*', 'RT.*', 'Result.*', 'IT.*', 'Initimidate.*', 'TT.*', 'Taunt.*', 'Trick.*', 'CT.*', 'MT.*', 'Maneuver.*', 'ODT.*', 'ords.*', 'odamage.*', 'DT.*', 'damage.*', 'BT.*', 'bonus.*', 'total.*')
register_prefix('TG', '1R20', 'RT', 'Result', 'IT', 'Intimidate', 'Test', 'TT', 'Taunt', 'Trick', 'CT', 'MT', 'Maneuver', 'ODT', 'ords', 'odamage', 'DT', 'damage', 'BT', 'bonus', 'total')

def replace_text(string)
string = string.gsub(/Result/i, 'RT')
Expand Down
4 changes: 2 additions & 2 deletions lib/bcdice/game_system/TorgEternity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class TorgEternity < Base
 ・ダメージ結果表「DTx or DAMAGEx」
 ・ロールボーナス表「BTx+y or BONUSx+y or TOTALx+y」 xは数値, yは技能基本値
INFO_MESSAGE_TEXT
register_prefix('TE.*', 'UP.*', 'POS.*', '\d+BD.*', 'TG.*', 'RT.*', 'Result.*', 'DT.*', 'damage.*', 'BT.*', 'bonus.*', 'total.*', '1R20.*')
register_prefix('TE', 'UP', 'POS', '\d+BD', 'TG', 'RT', 'Result', 'DT', 'damage', 'BT', 'bonus', 'total', '1R20')

def eval_game_system_specific_command(command)
torg_check(command) ||
Expand Down Expand Up @@ -229,7 +229,7 @@ def getDamageResultDiceCommandResult(command)
# ロールボーナス表コマンド
def getRollBonusDiceCommandResult(command)
debug("TorgEternity Roll Bonus Table Command ? ", command)
m = /(BT|Bonus)(\d+)(([+\-]\d+)*)/i.match(command)
m = /(BT|Bonus|Total)(\d+)(([+\-]\d+)*)/i.match(command)
unless m
return nil
end
Expand Down
2 changes: 1 addition & 1 deletion lib/bcdice/game_system/Warhammer4.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Warhammer4 < Base
"WH部位 頑健ボーナス以下フラグ"の形で指定します。
部位は「H(頭部)」「A(腕)」「B(胴体)」「L(足)」の4カ所です。
頑健ボーナスフラグは頑健ボーナス以下のダメージの時にUをつけます。
例)whH whAU WHL
例)whctH whctAU WHCTL

■ 命中部位表 (WHLT)
命中部位をランダムに決定します。(クリティカル用)
Expand Down
18 changes: 12 additions & 6 deletions test/data/Torg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,6 @@ input = "IT16"
output = "威圧/威嚇表[16] > モラル崩壊"
rands = []

[[ test ]]
game_system = "Torg"
input = "IT17"
output = "威圧/威嚇表[17] > プレイヤーズコール"
rands = []

[[ test ]]
game_system = "Torg"
input = "IT14"
Expand Down Expand Up @@ -275,6 +269,18 @@ input = "IT1"
output = "威圧/威嚇表[1] > 技能なし"
rands = []

[[ test ]]
game_system = "Torg"
input = "Test1"
output = "威圧/威嚇表[1] > 技能なし"
rands = []

[[ test ]]
game_system = "Torg"
input = "Intimidate1"
output = "威圧/威嚇表[1] > 技能なし"
rands = []

[[ test ]]
game_system = "Torg"
input = "IT5"
Expand Down
6 changes: 6 additions & 0 deletions test/data/TorgEternity.toml
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,12 @@ input = "BT21+2-4"
output = "ロールボーナス表[21]-2 > 8[21]-2 > 6"
rands = []

[[ test ]]
game_system = "TorgEternity"
input = "Total62"
output = "ロールボーナス表[62] > 16"
rands = []

[[ test ]]
game_system = "TorgEternity"
input = "3BD+10"
Expand Down