Skip to content

Commit 968c6b0

Browse files
authored
Merge pull request #771 from Aimsot/Cthulhu7th_CC-CommandFix
[Cthulhu7th]新・クトゥルフ神話TRPGのCCコマンドの表記揺れ修正
2 parents c7ee797 + ff5d1dc commit 968c6b0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/bcdice/game_system/Cthulhu7th.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def skill_roll(command)
203203

204204
if bonus_dice == 0 && difficulty.nil?
205205
dice = @randomizer.roll_once(100)
206-
return "1D100 > #{dice}"
206+
return "(1D100)#{dice}"
207207
end
208208

209209
if bonus_dice.abs > 100

test/data/Cthulhu7th.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ rands = []
349349
[[ test ]]
350350
game_system = "Cthulhu7th"
351351
input = "CC<=0"
352-
output = "1D100 > 33"
352+
output = "(1D100) > 33"
353353
rands = [
354354
{ sides = 100, value = 33 },
355355
]
@@ -1379,7 +1379,7 @@ rands = [
13791379
[[ test ]]
13801380
game_system = "Cthulhu7th"
13811381
input = "cc ccのみで可能に"
1382-
output = "1D100 > 19"
1382+
output = "(1D100) > 19"
13831383
rands = [
13841384
{ sides = 100, value = 19 },
13851385
]

test/data/PulpCthulhu.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ rands = [
182182
[[ test ]]
183183
game_system = "PulpCthulhu"
184184
input = "cc"
185-
output = "1D100 > 19"
185+
output = "(1D100) > 19"
186186
rands = [
187187
{ sides = 100, value = 19 },
188188
]

0 commit comments

Comments
 (0)