From 2ac0b7b21134a7344015531a3afc15133ebbf7e2 Mon Sep 17 00:00:00 2001 From: Hideyo Mikisato Date: Tue, 20 Apr 2021 22:59:36 +0900 Subject: [PATCH 1/4] =?UTF-8?q?=E8=B6=85=E8=B6=8A=E5=88=A4=E5=AE=9A?= =?UTF-8?q?=E3=81=ABResult=E3=82=92=E9=81=A9=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sword_world/transcendent_test.rb | 39 +++++++++++++++---- test/data/SwordWorld2_0.toml | 23 +++++++++++ test/data/SwordWorld2_5.toml | 21 ++++++++++ 3 files changed, 76 insertions(+), 7 deletions(-) diff --git a/lib/bcdice/game_system/sword_world/transcendent_test.rb b/lib/bcdice/game_system/sword_world/transcendent_test.rb index e10e0d071..d6f42d408 100644 --- a/lib/bcdice/game_system/sword_world/transcendent_test.rb +++ b/lib/bcdice/game_system/sword_world/transcendent_test.rb @@ -1,8 +1,25 @@ +require "bcdice/result" + module BCDice module GameSystem class SwordWorld2_0 < SwordWorld # 超越判定のノード class TranscendentTest + NO_TARGET = 0 + SUCCESS = 1 + FAILURE = 2 + SUPER_SUCCESS = 3 + CRITICAL = 4 + FUMBLE = 5 + + RESULT_STR = { + SUCCESS => "成功", + FAILURE => "失敗", + SUPER_SUCCESS => "超成功", + CRITICAL => "自動的成功", + FUMBLE => "自動的失敗", + }.freeze + # @param [Integer] critical_value クリティカル値 # @param [Integer] modifier 修正値 # @param [String, nil] cmp_op 比較演算子(> または >=) @@ -40,14 +57,21 @@ def execute(randomizer) sum = sum_of_dice(value_groups) total_sum = sum + @modifier + result = result_status(total_sum, value_groups.length, fumble, critical) parts = [ "(#{@expression})", "#{dice_str(value_groups, sum)}#{@modifier_str}", total_sum, - @target && result_str(total_sum, value_groups.length, fumble, critical) + RESULT_STR[result], ].compact - return parts.join(" > ") + return Result.new.tap do |r| + r.text = parts.join(" > ") + r.fumble = result == FUMBLE + r.critical = result == CRITICAL + r.success = [SUCCESS, SUPER_SUCCESS, CRITICAL].include?(result) + r.failure = [FAILURE, FUMBLE].include?(result) + end end private @@ -87,15 +111,16 @@ def dice_str(value_groups, sum) # @param [Boolean] fumble ファンブルかどうか # @param [Boolean] critical クリティカルかどうか # @return [String] - def result_str(total_sum, n_value_groups, fumble, critical) - return "自動的失敗" if fumble - return "自動的成功" if critical + def result_status(total_sum, n_value_groups, fumble, critical) + return NO_TARGET unless @target + return FUMBLE if fumble + return CRITICAL if critical if total_sum.send(@cmp_op, @target) # 振り足しが行われ、合計値が41以上ならば「超成功」 - n_value_groups >= 2 && total_sum >= 41 ? "超成功" : "成功" + n_value_groups >= 2 && total_sum >= 41 ? SUPER_SUCCESS : SUCCESS else - "失敗" + FAILURE end end end diff --git a/test/data/SwordWorld2_0.toml b/test/data/SwordWorld2_0.toml index e95b26a57..4aa2d8b0d 100644 --- a/test/data/SwordWorld2_0.toml +++ b/test/data/SwordWorld2_0.toml @@ -296,6 +296,7 @@ rands = [ game_system = "SwordWorld2.0" input = "2D6@10+15>=30" output = "(2D6@10+15>=30) > 9[6,3]+15 > 24 > 失敗" +failure = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 3 }, @@ -305,6 +306,7 @@ rands = [ game_system = "SwordWorld2.0" input = "2D6@10+15>=30" output = "(2D6@10+15>=30) > 15[6,4][3,2]+15 > 30 > 成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 4 }, @@ -316,6 +318,7 @@ rands = [ game_system = "SwordWorld2.0" input = "2D6@10+15>=30" output = "(2D6@10+15>=30) > 25[6,4][5,5][1,4]+15 > 40 > 成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 4 }, @@ -329,6 +332,7 @@ rands = [ game_system = "SwordWorld2.0" input = "2D6@10+16>=30" output = "(2D6@10+16>=30) > 25[6,4][5,5][1,4]+16 > 41 > 超成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 4 }, @@ -342,6 +346,7 @@ rands = [ game_system = "SwordWorld2.0" input = "2D@10+16>=30 超越判定:面数省略" output = "(2D6@10+16>=30) > 25[6,4][5,5][1,4]+16 > 41 > 超成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 4 }, @@ -355,6 +360,7 @@ rands = [ game_system = "SwordWorld2.0" input = "2D6@10+15>=30" output = "(2D6@10+15>=30) > 22[6,4][5,5][1,1]+15 > 37 > 成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 4 }, @@ -368,6 +374,7 @@ rands = [ game_system = "SwordWorld2.0" input = "2D6@10+31>=30" output = "(2D6@10+31>=30) > 9[6,3]+31 > 40 > 成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 3 }, @@ -377,6 +384,7 @@ rands = [ game_system = "SwordWorld2.0" input = "2D6@10+32>=30" output = "(2D6@10+32>=30) > 9[6,3]+32 > 41 > 成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 3 }, @@ -386,6 +394,7 @@ rands = [ game_system = "SwordWorld2.0" input = "2D6@10+31>=30" output = "(2D6@10+31>=30) > 12[6,4][1,1]+31 > 43 > 超成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 4 }, @@ -397,6 +406,8 @@ rands = [ game_system = "SwordWorld2.0" input = "2D6@10+31>=30" output = "(2D6@10+31>=30) > 12[6,6]+31 > 43 > 自動的成功" +success = true +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 6 }, @@ -406,6 +417,8 @@ rands = [ game_system = "SwordWorld2.0" input = "2D6@10+31>=30" output = "(2D6@10+31>=30) > 2[1,1]+31 > 33 > 自動的失敗" +failure = true +fumble = true rands = [ { sides = 6, value = 1 }, { sides = 6, value = 1 }, @@ -415,6 +428,8 @@ rands = [ game_system = "SwordWorld2.0" input = "2D6@10+39>=30" output = "(2D6@10+39>=30) > 2[1,1]+39 > 41 > 自動的失敗" +failure = true +fumble = true rands = [ { sides = 6, value = 1 }, { sides = 6, value = 1 }, @@ -452,6 +467,8 @@ rands = [] game_system = "SwordWorld2.0" input = "2d6@10+11>30" output = "(2D6@10+11>30) > 12[6,6]+11 > 23 > 自動的成功" +success = true +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 6 }, @@ -461,6 +478,7 @@ rands = [ game_system = "SwordWorld2.0" input = "2d6@10+11>30" output = "(2D6@10+11>30) > 38[4,6][5,5][5,5][3,5]+11 > 49 > 超成功" +success = true rands = [ { sides = 6, value = 4 }, { sides = 6, value = 6 }, @@ -476,6 +494,7 @@ rands = [ game_system = "SwordWorld2.0" input = "2d6@10+11>30" output = "(2D6@10+11>30) > 30[6,5][6,6][6,1]+11 > 41 > 超成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 5 }, @@ -489,6 +508,7 @@ rands = [ game_system = "SwordWorld2.0" input = "2d6@10+11>30" output = "(2D6@10+11>30) > 40[6,5][6,6][5,5][6,1]+11 > 51 > 超成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 5 }, @@ -504,6 +524,7 @@ rands = [ game_system = "SwordWorld2.0" input = "2d6@10+11>30" output = "(2D6@10+11>30) > 52[6,5][6,6][5,5][6,6][6,1]+11 > 63 > 超成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 5 }, @@ -521,6 +542,7 @@ rands = [ game_system = "SwordWorld2.0" input = "2d6@10+11>30" output = "(2D6@10+11>30) > 25[6,5][6,6][1,1]+11 > 36 > 成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 5 }, @@ -534,6 +556,7 @@ rands = [ game_system = "SwordWorld2.0" input = "2d6@10+5>30" output = "(2D6@10+5>30) > 25[6,5][6,6][1,1]+5 > 30 > 失敗" +failure = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 5 }, diff --git a/test/data/SwordWorld2_5.toml b/test/data/SwordWorld2_5.toml index e6ace5f98..36c7eb195 100644 --- a/test/data/SwordWorld2_5.toml +++ b/test/data/SwordWorld2_5.toml @@ -344,6 +344,7 @@ rands = [ game_system = "SwordWorld2.5" input = "2D6@10+15>=30" output = "(2D6@10+15>=30) > 9[6,3]+15 > 24 > 失敗" +failure = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 3 }, @@ -353,6 +354,7 @@ rands = [ game_system = "SwordWorld2.5" input = "2D6@10+15>=30" output = "(2D6@10+15>=30) > 15[6,4][3,2]+15 > 30 > 成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 4 }, @@ -364,6 +366,7 @@ rands = [ game_system = "SwordWorld2.5" input = "2D6@10+15>=30" output = "(2D6@10+15>=30) > 25[6,4][5,5][1,4]+15 > 40 > 成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 4 }, @@ -377,6 +380,7 @@ rands = [ game_system = "SwordWorld2.5" input = "2D6@10+16>=30" output = "(2D6@10+16>=30) > 25[6,4][5,5][1,4]+16 > 41 > 超成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 4 }, @@ -390,6 +394,7 @@ rands = [ game_system = "SwordWorld2.5" input = "2D6@10+15>=30" output = "(2D6@10+15>=30) > 22[6,4][5,5][1,1]+15 > 37 > 成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 4 }, @@ -403,6 +408,7 @@ rands = [ game_system = "SwordWorld2.5" input = "2D6@10+31>=30" output = "(2D6@10+31>=30) > 9[6,3]+31 > 40 > 成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 3 }, @@ -412,6 +418,7 @@ rands = [ game_system = "SwordWorld2.5" input = "2D6@10+32>=30" output = "(2D6@10+32>=30) > 9[6,3]+32 > 41 > 成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 3 }, @@ -421,6 +428,7 @@ rands = [ game_system = "SwordWorld2.5" input = "2D6@10+31>=30" output = "(2D6@10+31>=30) > 12[6,4][1,1]+31 > 43 > 超成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 4 }, @@ -432,6 +440,8 @@ rands = [ game_system = "SwordWorld2.5" input = "2D6@10+31>=30" output = "(2D6@10+31>=30) > 12[6,6]+31 > 43 > 自動的成功" +success = true +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 6 }, @@ -441,6 +451,8 @@ rands = [ game_system = "SwordWorld2.5" input = "2D6@10+31>=30" output = "(2D6@10+31>=30) > 2[1,1]+31 > 33 > 自動的失敗" +failure = true +fumble = true rands = [ { sides = 6, value = 1 }, { sides = 6, value = 1 }, @@ -450,6 +462,8 @@ rands = [ game_system = "SwordWorld2.5" input = "2D6@10+39>=30" output = "(2D6@10+39>=30) > 2[1,1]+39 > 41 > 自動的失敗" +failure = true +fumble = true rands = [ { sides = 6, value = 1 }, { sides = 6, value = 1 }, @@ -487,6 +501,8 @@ rands = [] game_system = "SwordWorld2.5" input = "2d6@10+11>30" output = "(2D6@10+11>30) > 12[6,6]+11 > 23 > 自動的成功" +success = true +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 6 }, @@ -496,6 +512,7 @@ rands = [ game_system = "SwordWorld2.5" input = "2d6@10+11>30" output = "(2D6@10+11>30) > 38[4,6][5,5][5,5][3,5]+11 > 49 > 超成功" +success = true rands = [ { sides = 6, value = 4 }, { sides = 6, value = 6 }, @@ -511,6 +528,7 @@ rands = [ game_system = "SwordWorld2.5" input = "2d6@10+11>30" output = "(2D6@10+11>30) > 30[6,5][6,6][6,1]+11 > 41 > 超成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 5 }, @@ -524,6 +542,7 @@ rands = [ game_system = "SwordWorld2.5" input = "2d6@10+11>30" output = "(2D6@10+11>30) > 40[6,5][6,6][5,5][6,1]+11 > 51 > 超成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 5 }, @@ -539,6 +558,7 @@ rands = [ game_system = "SwordWorld2.5" input = "2d6@10+11>30" output = "(2D6@10+11>30) > 52[6,5][6,6][5,5][6,6][6,1]+11 > 63 > 超成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 5 }, @@ -556,6 +576,7 @@ rands = [ game_system = "SwordWorld2.5" input = "2d6@10+11>30" output = "(2D6@10+11>30) > 25[6,5][6,6][1,1]+11 > 36 > 成功" +success = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 5 }, From 066ea86b22f7efb743346cb02df6e16c160211bd Mon Sep 17 00:00:00 2001 From: Hideyo Mikisato Date: Wed, 21 Apr 2021 00:39:45 +0900 Subject: [PATCH 2/4] =?UTF-8?q?=E5=A8=81=E5=8A=9B=E8=A1=A8=E3=81=ABcritica?= =?UTF-8?q?l/fumble=E3=82=92=E8=A8=AD=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/bcdice/game_system/SwordWorld.rb | 19 ++++-- test/data/SwordWorld.toml | 94 ++++++++++++++++++++++++++++ test/data/SwordWorld2_0.toml | 8 +++ test/data/SwordWorld2_5.toml | 14 +++++ 4 files changed, 130 insertions(+), 5 deletions(-) diff --git a/lib/bcdice/game_system/SwordWorld.rb b/lib/bcdice/game_system/SwordWorld.rb index 7b9e242ba..a4ad37c88 100644 --- a/lib/bcdice/game_system/SwordWorld.rb +++ b/lib/bcdice/game_system/SwordWorld.rb @@ -1,5 +1,6 @@ # frozen_string_literal: true +require "bcdice/base" require "bcdice/game_system/sword_world/rating_parser" module BCDice @@ -125,10 +126,17 @@ def rating(string) # レーティング表 break unless dice >= command.critical end - output += getResultText(totalValue, command, diceResults, diceResultTotals, - rateResults, diceOnlyTotal, round) + result_text, critical, fumble = getResultText( + totalValue, command, diceResults, diceResultTotals, + rateResults, diceOnlyTotal, round + ) + output += result_text - return output + return Result.new.tap do |r| + r.text = output + r.critical = critical + r.fumble = fumble + end end def getSW2_0_RatingTable @@ -301,6 +309,7 @@ def rollDice(_command) # @param rateResults [Array] # @param dice_total [Integer] # @param round [Integer] + # @return [Array] output, critical, fumble def getResultText(rating_total, command, diceResults, diceResultTotals, rateResults, dice_total, round) sequence = [] @@ -310,7 +319,7 @@ def getResultText(rating_total, command, diceResults, diceResultTotals, if dice_total <= 2 sequence.push(rateResults.join(',')) sequence.push("自動的失敗") - return sequence.join(" > ") + return sequence.join(" > "), false, true end # rate回数が1回で、修正値がない時には途中式と最終結果が一致するので、途中式を省略する @@ -347,7 +356,7 @@ def getResultText(rating_total, command, diceResults, diceResultTotals, total_text = total.to_s sequence.push(total_text) - return sequence.join(" > ") + return sequence.join(" > "), round > 1, false end end end diff --git a/test/data/SwordWorld.toml b/test/data/SwordWorld.toml index 47392d73e..e35747cd2 100644 --- a/test/data/SwordWorld.toml +++ b/test/data/SwordWorld.toml @@ -84,6 +84,7 @@ rands = [ game_system = "SwordWorld" input = "K20" output = "KeyNo.20c[10] > 2D:[5,5 3,6]=10,9 > 8,7 > 1回転 > 15" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 5 }, @@ -113,6 +114,7 @@ rands = [ game_system = "SwordWorld" input = "K20" output = "KeyNo.20c[10] > 2D:[6,5 3,1]=11,4 > 9,2 > 1回転 > 11" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 5 }, @@ -268,6 +270,7 @@ rands = [ game_system = "SwordWorld" input = "k30" output = "KeyNo.30c[10] > 2D:[1,1]=2 > ** > 自動的失敗" +fumble = true rands = [ { sides = 6, value = 1 }, { sides = 6, value = 1 }, @@ -277,6 +280,7 @@ rands = [ game_system = "SwordWorld" input = "k30" output = "KeyNo.30c[10] > 2D:[6,6 3,6]=12,9 > 10,9 > 1回転 > 19" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 6 }, @@ -324,6 +328,7 @@ rands = [ game_system = "SwordWorld" input = "k30" output = "KeyNo.30c[10] > 2D:[6,5 2,1]=11,3 > 10,2 > 1回転 > 12" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 5 }, @@ -389,6 +394,7 @@ rands = [ game_system = "SwordWorld" input = "k10+10" output = "KeyNo.10c[10]+10 > 2D:[6,4 1,3]=10,4 > 5,1+10 > 1回転 > 16" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 4 }, @@ -418,6 +424,7 @@ rands = [ game_system = "SwordWorld" input = "k10+10" output = "KeyNo.10c[10]+10 > 2D:[1,1]=2 > ** > 自動的失敗" +fumble = true rands = [ { sides = 6, value = 1 }, { sides = 6, value = 1 }, @@ -436,6 +443,7 @@ rands = [ game_system = "SwordWorld" input = "k10+10" output = "KeyNo.10c[10]+10 > 2D:[5,5 1,5]=10,6 > 5,3+10 > 1回転 > 18" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 5 }, @@ -497,6 +505,7 @@ rands = [ game_system = "SwordWorld" input = "Sk10-1" output = "KeyNo.10c[10]-1 > 2D:[6,5 4,4]=11,8 > 6,4-1 > 1回転 > 9" +critical = true secret = true rands = [ { sides = 6, value = 6 }, @@ -539,6 +548,7 @@ rands = [ game_system = "SwordWorld" input = "Sk10-1" output = "KeyNo.10c[10]-1 > 2D:[4,6 5,3]=10,8 > 5,4-1 > 1回転 > 8" +critical = true secret = true rands = [ { sides = 6, value = 4 }, @@ -569,6 +579,7 @@ rands = [ game_system = "SwordWorld" input = "k10+5+2" output = "KeyNo.10c[10]+7 > 2D:[1,1]=2 > ** > 自動的失敗" +fumble = true rands = [ { sides = 6, value = 1 }, { sides = 6, value = 1 }, @@ -578,6 +589,7 @@ rands = [ game_system = "SwordWorld" input = "k10+5+2" output = "KeyNo.10c[10]+7 > 2D:[4,6 2,4]=10,6 > 5,3+7 > 1回転 > 15" +critical = true rands = [ { sides = 6, value = 4 }, { sides = 6, value = 6 }, @@ -625,6 +637,7 @@ rands = [ game_system = "SwordWorld" input = "k10+5+2" output = "KeyNo.10c[10]+7 > 2D:[4,6 4,3]=10,7 > 5,3+7 > 1回転 > 15" +critical = true rands = [ { sides = 6, value = 4 }, { sides = 6, value = 6 }, @@ -636,6 +649,7 @@ rands = [ game_system = "SwordWorld" input = "k10+5+2" output = "KeyNo.10c[10]+7 > 2D:[5,5 4,2]=10,6 > 5,3+7 > 1回転 > 15" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 5 }, @@ -647,6 +661,7 @@ rands = [ game_system = "SwordWorld" input = "K20[10]" output = "KeyNo.20c[10] > 2D:[6,4 4,4]=10,8 > 8,6 > 1回転 > 14" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 4 }, @@ -730,6 +745,7 @@ rands = [ game_system = "SwordWorld" input = "K20[10]" output = "KeyNo.20c[10] > 2D:[1,1]=2 > ** > 自動的失敗" +fumble = true rands = [ { sides = 6, value = 1 }, { sides = 6, value = 1 }, @@ -820,6 +836,7 @@ rands = [ game_system = "SwordWorld" input = "K10+5[9]" output = "KeyNo.10c[9]+5 > 2D:[3,6 3,5]=9,8 > 5,4+5 > 1回転 > 14" +critical = true rands = [ { sides = 6, value = 3 }, { sides = 6, value = 6 }, @@ -858,6 +875,7 @@ rands = [ game_system = "SwordWorld" input = "k30[10]" output = "KeyNo.30c[10] > 2D:[5,6 1,5]=11,6 > 10,6 > 1回転 > 16" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 6 }, @@ -941,6 +959,7 @@ rands = [ game_system = "SwordWorld" input = "k10[9]+10" output = "KeyNo.10c[9]+10 > 2D:[6,4 3,4]=10,7 > 5,3+10 > 1回転 > 18" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 4 }, @@ -961,6 +980,7 @@ rands = [ game_system = "SwordWorld" input = "k10[9]+10" output = "KeyNo.10c[9]+10 > 2D:[5,4 1,4]=9,5 > 5,2+10 > 1回転 > 17" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 4 }, @@ -999,6 +1019,7 @@ rands = [ game_system = "SwordWorld" input = "k10[9]+10" output = "KeyNo.10c[9]+10 > 2D:[5,4 5,3]=9,8 > 5,4+10 > 1回転 > 19" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 4 }, @@ -1037,6 +1058,7 @@ rands = [ game_system = "SwordWorld" input = "k10-5@9" output = "KeyNo.10c[9]-5 > 2D:[6,4 5,5 3,4]=10,10,7 > 5,5,3-5 > 2回転 > 8" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 4 }, @@ -1077,6 +1099,7 @@ rands = [ game_system = "SwordWorld" input = "k10-5@9" output = "KeyNo.10c[9]-5 > 2D:[5,6 4,1]=11,5 > 6,2-5 > 1回転 > 3" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 6 }, @@ -1205,6 +1228,7 @@ rands = [ game_system = "SwordWorld" input = "K10$+1" output = "KeyNo.10c[10]m[+1] > 2D:[1,1]=2 > ** > 自動的失敗" +fumble = true rands = [ { sides = 6, value = 1 }, { sides = 6, value = 1 }, @@ -1322,6 +1346,7 @@ rands = [ game_system = "SwordWorld" input = "k10-5@9$+2" output = "KeyNo.10c[9]m[+2]-5 > 2D:[1,6 2,2]=9,4 > 5,1-5 > 1回転 > 1" +critical = true rands = [ { sides = 6, value = 1 }, { sides = 6, value = 6 }, @@ -1333,6 +1358,7 @@ rands = [ game_system = "SwordWorld" input = "k10-5@9$+2" output = "KeyNo.10c[9]m[+2]-5 > 2D:[1,1]=2 > ** > 自動的失敗" +fumble = true rands = [ { sides = 6, value = 1 }, { sides = 6, value = 1 }, @@ -1342,6 +1368,7 @@ rands = [ game_system = "SwordWorld" input = "k10-5@9$+2" output = "KeyNo.10c[9]m[+2]-5 > 2D:[6,5 3,6 6,6 1,6]=12,9,12,7 > 7,5,7,3-5 > 3回転 > 17" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 5 }, @@ -1357,6 +1384,7 @@ rands = [ game_system = "SwordWorld" input = "k10-5@9$+2" output = "KeyNo.10c[9]m[+2]-5 > 2D:[3,6 5,2]=11,7 > 6,3-5 > 1回転 > 4" +critical = true rands = [ { sides = 6, value = 3 }, { sides = 6, value = 6 }, @@ -1368,6 +1396,7 @@ rands = [ game_system = "SwordWorld" input = "k10-5@9$+2" output = "KeyNo.10c[9]m[+2]-5 > 2D:[3,6 5,6 5,1]=11,11,6 > 6,6,3-5 > 2回転 > 10" +critical = true rands = [ { sides = 6, value = 3 }, { sides = 6, value = 6 }, @@ -1381,6 +1410,7 @@ rands = [ game_system = "SwordWorld" input = "k10-5@9$+2" output = "KeyNo.10c[9]m[+2]-5 > 2D:[5,4 6,6 3,6 4,1]=11,12,9,5 > 6,7,5,2-5 > 3回転 > 15" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 4 }, @@ -1414,6 +1444,7 @@ rands = [ game_system = "SwordWorld" input = "k10[9]+10$9" output = "KeyNo.10c[9]m[9]+10 > 2D:[2,1 5,3]=9,8 > 5,4+10 > 1回転 > 19" +critical = true rands = [ { sides = 6, value = 2 }, { sides = 6, value = 1 }, @@ -1425,6 +1456,7 @@ rands = [ game_system = "SwordWorld" input = "k10[9]+10$9" output = "KeyNo.10c[9]m[9]+10 > 2D:[5,1 3,6 5,1]=9,9,6 > 5,5,3+10 > 2回転 > 23" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 1 }, @@ -1438,6 +1470,7 @@ rands = [ game_system = "SwordWorld" input = "k10[9]+10$9" output = "KeyNo.10c[9]m[9]+10 > 2D:[4,6 2,2]=9,4 > 5,1+10 > 1回転 > 16" +critical = true rands = [ { sides = 6, value = 4 }, { sides = 6, value = 6 }, @@ -1449,6 +1482,7 @@ rands = [ game_system = "SwordWorld" input = "k10[9]+10$9" output = "KeyNo.10c[9]m[9]+10 > 2D:[6,3 4,1]=9,5 > 5,2+10 > 1回転 > 17" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 3 }, @@ -1460,6 +1494,7 @@ rands = [ game_system = "SwordWorld" input = "k10[9]+10$9" output = "KeyNo.10c[9]m[9]+10 > 2D:[4,6 3,6 2,4]=9,9,6 > 5,5,3+10 > 2回転 > 23" +critical = true rands = [ { sides = 6, value = 4 }, { sides = 6, value = 6 }, @@ -1473,6 +1508,7 @@ rands = [ game_system = "SwordWorld" input = "k10[9]+10$9" output = "KeyNo.10c[9]m[9]+10 > 2D:[2,6 3,1]=9,4 > 5,1+10 > 1回転 > 16" +critical = true rands = [ { sides = 6, value = 2 }, { sides = 6, value = 6 }, @@ -1484,6 +1520,7 @@ rands = [ game_system = "SwordWorld" input = "k10[9]+10$9" output = "KeyNo.10c[9]m[9]+10 > 2D:[6,2 5,4 3,5]=9,9,8 > 5,5,4+10 > 2回転 > 24" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 2 }, @@ -1497,6 +1534,7 @@ rands = [ game_system = "SwordWorld" input = "k10[9]+10$9" output = "KeyNo.10c[9]m[9]+10 > 2D:[3,3 2,6]=9,8 > 5,4+10 > 1回転 > 19" +critical = true rands = [ { sides = 6, value = 3 }, { sides = 6, value = 3 }, @@ -1508,6 +1546,7 @@ rands = [ game_system = "SwordWorld" input = "k10[9]+10$9" output = "KeyNo.10c[9]m[9]+10 > 2D:[4,3 6,2]=9,8 > 5,4+10 > 1回転 > 19" +critical = true rands = [ { sides = 6, value = 4 }, { sides = 6, value = 3 }, @@ -1519,6 +1558,7 @@ rands = [ game_system = "SwordWorld" input = "k10[9]+10$9" output = "KeyNo.10c[9]m[9]+10 > 2D:[6,5 6,4 6,1]=9,10,7 > 5,5,3+10 > 2回転 > 23" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 5 }, @@ -1532,6 +1572,7 @@ rands = [ game_system = "SwordWorld" input = "K25+6@3" output = "KeyNo.25c[3]+6 > 2D:[5,2 1,6 4,3 6,6 6,3 2,2 3,3 2,2 2,5 1,6 4,5 3,2 3,3 3,2 5,3 1,1]=7,7,7,12,9,4,6,4,7,7,9,5,6,5,8,2 > 6,6,6,10,8,3,5,3,6,6,8,4,5,4,7,**+6 > 15回転 > 93" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 2 }, @@ -1571,6 +1612,7 @@ rands = [ game_system = "SwordWorld" input = "K25+6@3" output = "KeyNo.25c[3]+6 > 2D:[4,6 1,1]=10,2 > 8,**+6 > 1回転 > 14" +critical = true rands = [ { sides = 6, value = 4 }, { sides = 6, value = 6 }, @@ -1582,6 +1624,7 @@ rands = [ game_system = "SwordWorld" input = "K25+6@3" output = "KeyNo.25c[3]+6 > 2D:[4,4 2,2 2,6 4,2 1,5 6,3 5,3 6,5 6,4 5,4 2,4 3,6 2,6 3,3 2,2 2,5 4,1 4,4 2,3 1,3 6,5 2,3 4,3 4,6 4,5 5,5 3,1 2,2 5,5 3,6 4,6 1,5 4,5 6,5 1,4 3,1 4,4 3,6 1,4 1,5 1,3 3,2 2,5 1,1]=8,4,8,6,6,9,8,11,10,9,6,9,8,6,4,7,5,8,5,4,11,5,7,10,9,10,4,4,10,9,10,6,9,11,5,4,8,9,5,6,4,5,7,2 > 7,3,7,5,5,8,7,9,8,8,5,8,7,5,3,6,4,7,4,3,9,4,6,8,8,8,3,3,8,8,8,5,8,9,4,3,7,8,4,5,3,4,6,**+6 > 43回転 > 264" +critical = true rands = [ { sides = 6, value = 4 }, { sides = 6, value = 4 }, @@ -1677,6 +1720,7 @@ rands = [ game_system = "SwordWorld" input = "K25+6@3" output = "KeyNo.25c[3]+6 > 2D:[2,2 1,2 1,6 4,1 6,3 1,1]=4,3,7,5,9,2 > 3,2,6,4,8,**+6 > 5回転 > 29" +critical = true rands = [ { sides = 6, value = 2 }, { sides = 6, value = 2 }, @@ -1696,6 +1740,7 @@ rands = [ game_system = "SwordWorld" input = "K25+6@3" output = "KeyNo.25c[3]+6 > 2D:[2,5 2,2 3,6 3,1 3,3 1,4 4,5 6,3 2,6 4,3 3,3 4,5 4,1 4,4 6,4 2,1 1,2 4,4 2,1 2,1 2,5 1,4 2,2 5,1 6,1 2,5 4,1 5,4 2,4 5,5 2,3 1,5 4,5 2,4 4,3 5,4 5,6 1,3 5,2 1,6 2,6 5,5 3,5 2,4 2,1 2,4 3,4 1,2 2,5 1,6 1,3 6,1 6,2 6,1 3,6 1,5 5,2 3,4 5,4 2,5 4,1 3,3 4,6 2,5 1,3 3,2 2,5 2,1 5,2 3,5 6,5 6,4 5,6 3,2 4,3 1,2 2,1 6,1 3,2 6,2 3,6 1,5 5,5 3,5 1,6 4,5 1,2 3,4 3,4 3,4 1,4 4,5 3,5 1,6 3,6 2,4 4,3 2,1 6,1 1,6 2,5 4,1 2,6 3,5 2,3 2,6 4,5 6,1 1,6 4,3 5,3 1,1]=7,4,9,4,6,5,9,9,8,7,6,9,5,8,10,3,3,8,3,3,7,5,4,6,7,7,5,9,6,10,5,6,9,6,7,9,11,4,7,7,8,10,8,6,3,6,7,3,7,7,4,7,8,7,9,6,7,7,9,7,5,6,10,7,4,5,7,3,7,8,11,10,11,5,7,3,3,7,5,8,9,6,10,8,7,9,3,7,7,7,5,9,8,7,9,6,7,3,7,7,7,5,8,8,5,8,9,7,7,7,8,2 > 6,3,8,3,5,4,8,8,7,6,5,8,4,7,8,2,2,7,2,2,6,4,3,5,6,6,4,8,5,8,4,5,8,5,6,8,9,3,6,6,7,8,7,5,2,5,6,2,6,6,3,6,7,6,8,5,6,6,8,6,4,5,8,6,3,4,6,2,6,7,9,8,9,4,6,2,2,6,4,7,8,5,8,7,6,8,2,6,6,6,4,8,7,6,8,5,6,2,6,6,6,4,7,7,4,7,8,6,6,6,7,**+6 > 111回転 > 637" +critical = true rands = [ { sides = 6, value = 2 }, { sides = 6, value = 5 }, @@ -1927,6 +1972,7 @@ rands = [ game_system = "SwordWorld" input = "K25+6@3" output = "KeyNo.25c[3]+6 > 2D:[5,5 4,4 4,4 4,4 5,6 5,3 1,6 5,4 4,1 1,5 3,4 5,1 2,5 3,6 1,1]=10,8,8,8,11,8,7,9,5,6,7,6,7,9,2 > 8,7,7,7,9,7,6,8,4,5,6,5,6,8,**+6 > 14回転 > 99" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 5 }, @@ -1964,6 +2010,7 @@ rands = [ game_system = "SwordWorld" input = "K25+6@3" output = "KeyNo.25c[3]+6 > 2D:[2,1 5,2 1,4 3,3 2,5 5,2 5,2 3,1 2,4 1,4 4,3 4,5 2,3 6,2 6,1 6,6 1,5 3,2 6,1 2,5 2,6 2,6 5,2 3,6 2,1 6,6 1,3 2,6 4,4 2,1 1,6 1,5 3,6 3,6 2,5 2,6 6,2 6,4 2,2 6,6 4,5 5,1 1,5 5,5 6,5 6,2 1,5 4,1 4,2 1,2 2,3 6,5 1,4 6,4 2,2 3,5 3,5 5,6 2,5 1,1]=3,7,5,6,7,7,7,4,6,5,7,9,5,8,7,12,6,5,7,7,8,8,7,9,3,12,4,8,8,3,7,6,9,9,7,8,8,10,4,12,9,6,6,10,11,8,6,5,6,3,5,11,5,10,4,8,8,11,7,2 > 2,6,4,5,6,6,6,3,5,4,6,8,4,7,6,10,5,4,6,6,7,7,6,8,2,10,3,7,7,2,6,5,8,8,6,7,7,8,3,10,8,5,5,8,9,7,5,4,5,2,4,9,4,8,3,7,7,9,6,**+6 > 59回転 > 357" +critical = true rands = [ { sides = 6, value = 2 }, { sides = 6, value = 1 }, @@ -2091,6 +2138,7 @@ rands = [ game_system = "SwordWorld" input = "K25+6@3" output = "KeyNo.25c[3]+6 > 2D:[2,5 3,6 4,6 4,4 1,1]=7,9,10,8,2 > 6,8,8,7,**+6 > 4回転 > 35" +critical = true rands = [ { sides = 6, value = 2 }, { sides = 6, value = 5 }, @@ -2108,6 +2156,7 @@ rands = [ game_system = "SwordWorld" input = "K25+6@3" output = "KeyNo.25c[3]+6 > 2D:[3,6 3,2 2,1 6,2 2,5 1,5 1,1]=9,5,3,8,7,6,2 > 8,4,2,7,6,5,**+6 > 6回転 > 38" +critical = true rands = [ { sides = 6, value = 3 }, { sides = 6, value = 6 }, @@ -2129,6 +2178,7 @@ rands = [ game_system = "SwordWorld" input = "K20+6@4" output = "KeyNo.20c[4]+6 > 2D:[1,5 1,3 1,2]=6,4,3 > 4,2,1+6 > 2回転 > 13" +critical = true rands = [ { sides = 6, value = 1 }, { sides = 6, value = 5 }, @@ -2142,6 +2192,7 @@ rands = [ game_system = "SwordWorld" input = "K20+6@4" output = "KeyNo.20c[4]+6 > 2D:[5,5 6,3 4,4 4,4 6,5 2,2 5,6 2,3 6,3 5,3 1,5 5,5 1,3 6,3 4,3 1,1]=10,9,8,8,11,4,11,5,9,8,6,10,4,9,7,2 > 8,7,6,6,9,2,9,3,7,6,4,8,2,7,5,**+6 > 15回転 > 95" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 5 }, @@ -2181,6 +2232,7 @@ rands = [ game_system = "SwordWorld" input = "K20+6@4" output = "KeyNo.20c[4]+6 > 2D:[5,6 2,1]=11,3 > 9,1+6 > 1回転 > 16" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 6 }, @@ -2192,6 +2244,7 @@ rands = [ game_system = "SwordWorld" input = "K20+6@4" output = "KeyNo.20c[4]+6 > 2D:[1,1]=2 > ** > 自動的失敗" +fumble = true rands = [ { sides = 6, value = 1 }, { sides = 6, value = 1 }, @@ -2201,6 +2254,7 @@ rands = [ game_system = "SwordWorld" input = "K20+6@4" output = "KeyNo.20c[4]+6 > 2D:[4,3 2,5 2,6 1,1]=7,7,8,2 > 5,5,6,**+6 > 3回転 > 22" +critical = true rands = [ { sides = 6, value = 4 }, { sides = 6, value = 3 }, @@ -2216,6 +2270,7 @@ rands = [ game_system = "SwordWorld" input = "K20+6@4" output = "KeyNo.20c[4]+6 > 2D:[1,1]=2 > ** > 自動的失敗" +fumble = true rands = [ { sides = 6, value = 1 }, { sides = 6, value = 1 }, @@ -2225,6 +2280,7 @@ rands = [ game_system = "SwordWorld" input = "K20+6@4" output = "KeyNo.20c[4]+6 > 2D:[3,1 2,4 3,3 4,4 4,5 5,4 3,4 4,4 5,3 4,2 6,1 1,3 1,1]=4,6,6,8,9,9,7,8,8,6,7,4,2 > 2,4,4,6,7,7,5,6,6,4,5,2,**+6 > 12回転 > 64" +critical = true rands = [ { sides = 6, value = 3 }, { sides = 6, value = 1 }, @@ -2258,6 +2314,7 @@ rands = [ game_system = "SwordWorld" input = "K20+6@4" output = "KeyNo.20c[4]+6 > 2D:[3,6 1,2]=9,3 > 7,1+6 > 1回転 > 14" +critical = true rands = [ { sides = 6, value = 3 }, { sides = 6, value = 6 }, @@ -2269,6 +2326,7 @@ rands = [ game_system = "SwordWorld" input = "K20+6@4" output = "KeyNo.20c[4]+6 > 2D:[6,2 4,3 3,2 2,6 6,1 3,4 6,1 6,5 5,2 1,5 5,6 3,2 5,1 5,1 6,3 1,6 1,5 2,1]=8,7,5,8,7,7,7,11,7,6,11,5,6,6,9,7,6,3 > 6,5,3,6,5,5,5,9,5,4,9,3,4,4,7,5,4,1+6 > 17回転 > 96" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 2 }, @@ -2312,6 +2370,7 @@ rands = [ game_system = "SwordWorld" input = "K20+6@4" output = "KeyNo.20c[4]+6 > 2D:[3,2 6,2 2,3 4,1 5,4 1,3 3,2 3,1 2,1]=5,8,5,5,9,4,5,4,3 > 3,6,3,3,7,2,3,2,1+6 > 8回転 > 36" +critical = true rands = [ { sides = 6, value = 3 }, { sides = 6, value = 2 }, @@ -2346,6 +2405,7 @@ rands = [ game_system = "SwordWorld" input = "K14@9" output = "KeyNo.14c[9] > 2D:[6,4 3,5]=10,8 > 6,4 > 1回転 > 10" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 4 }, @@ -2411,6 +2471,7 @@ rands = [ game_system = "SwordWorld" input = "K14@9" output = "KeyNo.14c[9] > 2D:[3,6 3,3]=9,6 > 5,4 > 1回転 > 9" +critical = true rands = [ { sides = 6, value = 3 }, { sides = 6, value = 6 }, @@ -2431,6 +2492,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3$12" output = "KeyNo.9c[3]m[12] > 2D:[4,4 4,4 2,1 6,4 5,6 6,6 6,5 2,2 1,5 5,3 2,2 3,5 6,3 5,1 1,2 2,5 6,1 5,5 4,5 6,1 5,2 6,6 3,4 1,2 1,2 2,1 1,5 2,1 4,4 6,1 1,1]=12,8,3,10,11,12,11,4,6,8,4,8,9,6,3,7,7,10,9,7,7,12,7,3,3,3,6,3,8,7,2 > 7,4,0,5,6,7,6,1,3,4,1,4,4,3,0,3,3,5,4,3,3,7,3,0,0,0,3,0,4,3,** > 30回転 > 96" +critical = true rands = [ { sides = 6, value = 4 }, { sides = 6, value = 4 }, @@ -2500,6 +2562,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3$12" output = "KeyNo.9c[3]m[12] > 2D:[1,4 4,6 6,4 3,1 5,5 1,5 2,2 2,1 6,3 4,3 2,6 5,2 6,6 6,6 6,6 6,5 6,3 4,4 4,6 1,1]=12,10,10,4,10,6,4,3,9,7,8,7,12,12,12,11,9,8,10,2 > 7,5,5,1,5,3,1,0,4,3,4,3,7,7,7,6,4,4,5,** > 19回転 > 81" +critical = true rands = [ { sides = 6, value = 1 }, { sides = 6, value = 4 }, @@ -2547,6 +2610,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3$12" output = "KeyNo.9c[3]m[12] > 2D:[5,1 5,5 5,5 6,3 4,2 6,1 2,3 4,6 6,4 1,3 4,2 4,4 3,1 6,3 1,2 3,5 1,5 6,6 3,3 5,5 5,5 4,6 1,2 5,5 1,1]=12,10,10,9,6,7,5,10,10,4,6,8,4,9,3,8,6,12,6,10,10,10,3,10,2 > 7,5,5,4,3,3,2,5,5,1,3,4,1,4,0,4,3,7,3,5,5,5,0,5,** > 24回転 > 89" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 1 }, @@ -2604,6 +2668,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3$12" output = "KeyNo.9c[3]m[12] > 2D:[3,4 3,4 6,4 4,3 6,1 6,1 4,2 5,4 1,2 2,2 1,3 1,6 4,4 3,4 4,6 1,2 2,3 1,2 2,6 6,5 5,5 3,2 4,2 6,6 4,5 1,5 2,3 3,3 4,6 4,3 2,2 6,6 1,2 6,3 3,6 6,5 6,1 3,1 4,3 2,2 2,4 2,5 5,6 1,5 6,4 6,3 5,2 3,1 5,3 3,6 1,6 1,3 2,5 4,5 3,3 5,4 4,4 4,6 3,4 3,6 3,3 1,2 4,4 4,4 1,2 1,2 5,1 6,4 2,2 4,1 2,5 1,5 6,1 3,6 2,3 6,3 6,3 5,3 6,1 5,5 3,1 4,6 2,5 4,6 2,1 4,1 2,4 6,2 2,6 3,1 1,5 5,5 5,2 4,6 5,3 5,5 4,2 4,1 3,3 2,1 1,1]=12,7,10,7,7,7,6,9,3,4,4,7,8,7,10,3,5,3,8,11,10,5,6,12,9,6,5,6,10,7,4,12,3,9,9,11,7,4,7,4,6,7,11,6,10,9,7,4,8,9,7,4,7,9,6,9,8,10,7,9,6,3,8,8,3,3,6,10,4,5,7,6,7,9,5,9,9,8,7,10,4,10,7,10,3,5,6,8,8,4,6,10,7,10,8,10,6,5,6,3,2 > 7,3,5,3,3,3,3,4,0,1,1,3,4,3,5,0,2,0,4,6,5,2,3,7,4,3,2,3,5,3,1,7,0,4,4,6,3,1,3,1,3,3,6,3,5,4,3,1,4,4,3,1,3,4,3,4,4,5,3,4,3,0,4,4,0,0,3,5,1,2,3,3,3,4,2,4,4,4,3,5,1,5,3,5,0,2,3,4,4,1,3,5,3,5,4,5,3,2,3,0,** > 100回転 > 315" +critical = true rands = [ { sides = 6, value = 3 }, { sides = 6, value = 4 }, @@ -2813,6 +2878,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3$12" output = "KeyNo.9c[3]m[12] > 2D:[6,2 1,1]=12,2 > 7,** > 1回転 > 7" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 2 }, @@ -2824,6 +2890,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3$12" output = "KeyNo.9c[3]m[12] > 2D:[5,4 5,3 4,2 2,1 6,5 4,1 3,4 2,2 6,1 6,1 4,6 2,2 1,1]=12,8,6,3,11,5,7,4,7,7,10,4,2 > 7,4,3,0,6,2,3,1,3,3,5,1,** > 12回転 > 38" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 4 }, @@ -2857,6 +2924,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3$12" output = "KeyNo.9c[3]m[12] > 2D:[1,5 6,4 6,3 6,6 1,5 3,5 2,5 5,3 3,3 1,2 5,3 5,1 3,2 5,6 5,6 6,1 5,6 5,4 6,1 6,3 4,1 5,6 2,2 6,2 1,5 3,2 2,5 3,4 2,1 6,6 5,4 6,5 4,2 2,5 4,2 6,4 2,4 6,1 3,1 3,1 5,5 3,1 6,2 2,5 3,1 5,1 2,1 4,6 3,4 5,1 2,3 2,6 5,5 3,6 1,4 6,5 6,4 3,4 6,3 2,2 1,5 6,4 2,4 5,4 1,4 5,5 6,6 4,6 2,5 3,1 4,3 2,4 5,1 2,5 2,3 5,3 1,6 6,2 3,5 2,2 5,2 1,1]=12,10,9,12,6,8,7,8,6,3,8,6,5,11,11,7,11,9,7,9,5,11,4,8,6,5,7,7,3,12,9,11,6,7,6,10,6,7,4,4,10,4,8,7,4,6,3,10,7,6,5,8,10,9,5,11,10,7,9,4,6,10,6,9,5,10,12,10,7,4,7,6,6,7,5,8,7,8,8,4,7,2 > 7,5,4,7,3,4,3,4,3,0,4,3,2,6,6,3,6,4,3,4,2,6,1,4,3,2,3,3,0,7,4,6,3,3,3,5,3,3,1,1,5,1,4,3,1,3,0,5,3,3,2,4,5,4,2,6,5,3,4,1,3,5,3,4,2,5,7,5,3,1,3,3,3,3,2,4,3,4,4,1,3,** > 81回転 > 279" +critical = true rands = [ { sides = 6, value = 1 }, { sides = 6, value = 5 }, @@ -3028,6 +3096,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3$12" output = "KeyNo.9c[3]m[12] > 2D:[1,2 2,5 1,6 3,3 5,1 5,6 2,5 1,6 2,2 1,4 6,6 1,5 6,2 2,4 4,2 3,1 1,5 1,6 4,4 3,3 3,2 1,5 1,2 4,5 5,5 4,5 6,4 1,5 4,4 3,3 5,4 4,3 6,6 5,3 1,2 4,4 3,3 4,2 1,1]=12,7,7,6,6,11,7,7,4,5,12,6,8,6,6,4,6,7,8,6,5,6,3,9,10,9,10,6,8,6,9,7,12,8,3,8,6,6,2 > 7,3,3,3,3,6,3,3,1,2,7,3,4,3,3,1,3,3,4,3,2,3,0,4,5,4,5,3,4,3,4,3,7,4,0,4,3,3,** > 38回転 > 129" +critical = true rands = [ { sides = 6, value = 1 }, { sides = 6, value = 2 }, @@ -3113,6 +3182,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3$12" output = "KeyNo.9c[3]m[12] > 2D:[5,2 6,6 4,4 6,2 5,2 6,3 6,2 1,2 5,5 1,2 6,3 4,2 4,1 5,2 3,5 4,3 1,4 6,6 2,6 3,1 5,2 1,3 1,3 1,1]=12,12,8,8,7,9,8,3,10,3,9,6,5,7,8,7,5,12,8,4,7,4,4,2 > 7,7,4,4,3,4,4,0,5,0,4,3,2,3,4,3,2,7,4,1,3,1,1,** > 23回転 > 76" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 2 }, @@ -3168,6 +3238,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3$12" output = "KeyNo.9c[3]m[12] > 2D:[3,3 5,4 2,3 4,1 5,4 1,4 6,5 4,2 3,1 5,5 4,5 4,3 4,5 1,2 1,5 4,1 5,4 6,2 2,2 3,2 3,1 3,6 2,3 4,1 6,4 2,4 4,4 2,2 5,1 3,6 1,3 5,2 2,1 2,5 2,5 1,2 4,5 4,2 1,5 2,1 2,2 6,2 1,1]=12,9,5,5,9,5,11,6,4,10,9,7,9,3,6,5,9,8,4,5,4,9,5,5,10,6,8,4,6,9,4,7,3,7,7,3,9,6,6,3,4,8,2 > 7,4,2,2,4,2,6,3,1,5,4,3,4,0,3,2,4,4,1,2,1,4,2,2,5,3,4,1,3,4,1,3,0,3,3,0,4,3,3,0,1,4,** > 42回転 > 117" +critical = true rands = [ { sides = 6, value = 3 }, { sides = 6, value = 3 }, @@ -3261,6 +3332,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3+1$10" output = "KeyNo.9c[3]m[10]+1 > 2D:[6,1 4,5 2,5 5,4 3,5 5,3 4,6 5,3 6,5 3,6 2,1 5,3 1,3 4,2 3,3 5,2 4,2 3,1 2,5 2,1 2,4 3,3 1,4 5,5 2,2 6,6 3,3 6,2 2,5 2,3 6,5 2,1 2,6 4,5 6,6 1,6 3,6 6,1 1,1]=10,9,7,9,8,8,10,8,11,9,3,8,4,6,6,7,6,4,7,3,6,6,5,10,4,12,6,8,7,5,11,3,8,9,12,7,9,7,2 > 5,4,3,4,4,4,5,4,6,4,0,4,1,3,3,3,3,1,3,0,3,3,2,5,1,7,3,4,3,2,6,0,4,4,7,3,4,3,**+1 > 38回転 > 129" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 1 }, @@ -3346,6 +3418,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3+1$10" output = "KeyNo.9c[3]m[10]+1 > 2D:[3,4 6,2 1,1]=10,8,2 > 5,4,**+1 > 2回転 > 10" +critical = true rands = [ { sides = 6, value = 3 }, { sides = 6, value = 4 }, @@ -3359,6 +3432,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3+1$10" output = "KeyNo.9c[3]m[10]+1 > 2D:[6,1 2,2 5,1 2,2 2,5 3,3 3,4 6,3 4,5 2,1 5,5 4,3 5,3 6,1 5,5 4,3 2,6 3,4 4,2 4,3 5,5 3,5 6,6 4,5 5,3 6,1 1,2 4,3 1,2 1,5 3,6 1,1]=10,4,6,4,7,6,7,9,9,3,10,7,8,7,10,7,8,7,6,7,10,8,12,9,8,7,3,7,3,6,9,2 > 5,1,3,1,3,3,3,4,4,0,5,3,4,3,5,3,4,3,3,3,5,4,7,4,4,3,0,3,0,3,4,**+1 > 31回転 > 101" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 1 }, @@ -3430,6 +3504,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3+1$10" output = "KeyNo.9c[3]m[10]+1 > 2D:[3,6 6,2 2,2 3,5 1,6 5,3 6,5 3,6 1,5 1,6 6,6 6,4 4,3 5,3 2,6 2,2 3,5 2,5 2,6 3,4 2,3 6,4 2,2 2,1 4,4 5,3 6,5 6,1 1,5 5,5 3,2 5,6 3,4 5,5 2,3 1,4 4,6 6,1 4,3 6,6 1,1]=10,8,4,8,7,8,11,9,6,7,12,10,7,8,8,4,8,7,8,7,5,10,4,3,8,8,11,7,6,10,5,11,7,10,5,5,10,7,7,12,2 > 5,4,1,4,3,4,6,4,3,3,7,5,3,4,4,1,4,3,4,3,2,5,1,0,4,4,6,3,3,5,2,6,3,5,2,2,5,3,3,7,**+1 > 40回転 > 147" +critical = true rands = [ { sides = 6, value = 3 }, { sides = 6, value = 6 }, @@ -3519,6 +3594,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3+1$10" output = "KeyNo.9c[3]m[10]+1 > 2D:[2,6 5,6 1,3 5,1 5,3 2,6 5,5 4,3 5,2 1,5 5,1 4,4 5,4 3,6 6,2 6,2 1,2 3,6 6,3 5,2 1,4 3,3 6,3 5,2 2,3 4,6 2,5 3,6 5,3 1,3 5,1 1,6 1,1]=10,11,4,6,8,8,10,7,7,6,6,8,9,9,8,8,3,9,9,7,5,6,9,7,5,10,7,9,8,4,6,7,2 > 5,6,1,3,4,4,5,3,3,3,3,4,4,4,4,4,0,4,4,3,2,3,4,3,2,5,3,4,4,1,3,3,**+1 > 32回転 > 109" +critical = true rands = [ { sides = 6, value = 2 }, { sides = 6, value = 6 }, @@ -3592,6 +3668,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3+1$10" output = "KeyNo.9c[3]m[10]+1 > 2D:[6,1 4,4 2,3 3,3 4,5 1,1]=10,8,5,6,9,2 > 5,4,2,3,4,**+1 > 5回転 > 19" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 1 }, @@ -3611,6 +3688,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3+1$10" output = "KeyNo.9c[3]m[10]+1 > 2D:[2,1 3,6 1,1]=10,9,2 > 5,4,**+1 > 2回転 > 10" +critical = true rands = [ { sides = 6, value = 2 }, { sides = 6, value = 1 }, @@ -3624,6 +3702,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3+1$10" output = "KeyNo.9c[3]m[10]+1 > 2D:[3,3 1,2 4,1 5,5 1,1]=10,3,5,10,2 > 5,0,2,5,**+1 > 4回転 > 13" +critical = true rands = [ { sides = 6, value = 3 }, { sides = 6, value = 3 }, @@ -3641,6 +3720,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3+1$10" output = "KeyNo.9c[3]m[10]+1 > 2D:[4,3 3,4 2,4 1,4 2,3 2,6 5,5 5,4 1,1]=10,7,6,5,5,8,10,9,2 > 5,3,3,2,2,4,5,4,**+1 > 8回転 > 29" +critical = true rands = [ { sides = 6, value = 4 }, { sides = 6, value = 3 }, @@ -3666,6 +3746,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3+1$10" output = "KeyNo.9c[3]m[10]+1 > 2D:[2,3 5,3 4,1 1,2 2,3 1,6 6,6 3,5 6,3 3,1 6,5 5,1 4,3 5,3 5,2 1,3 5,2 1,5 1,3 6,2 2,2 2,2 6,2 6,6 4,2 1,5 4,1 2,5 5,5 6,4 1,2 3,1 3,3 5,5 6,5 3,5 3,2 4,6 5,6 5,3 6,1 5,2 2,2 2,1 5,5 4,2 4,3 3,3 1,2 2,2 3,4 6,3 2,4 4,6 1,6 1,1]=10,8,5,3,5,7,12,8,9,4,11,6,7,8,7,4,7,6,4,8,4,4,8,12,6,6,5,7,10,10,3,4,6,10,11,8,5,10,11,8,7,7,4,3,10,6,7,6,3,4,7,9,6,10,7,2 > 5,4,2,0,2,3,7,4,4,1,6,3,3,4,3,1,3,3,1,4,1,1,4,7,3,3,2,3,5,5,0,1,3,5,6,4,2,5,6,4,3,3,1,0,5,3,3,3,0,1,3,4,3,5,3,**+1 > 55回転 > 174" +critical = true rands = [ { sides = 6, value = 2 }, { sides = 6, value = 3 }, @@ -3785,6 +3866,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3-1$12" output = "KeyNo.9c[3]m[12]-1 > 2D:[5,2 3,5 4,2 1,3 5,5 2,2 2,4 3,4 3,5 6,5 2,4 6,6 2,4 5,1 3,3 1,3 4,2 1,2 4,1 6,6 4,2 3,1 3,5 6,5 5,1 3,2 5,5 1,6 5,1 5,1 5,2 3,4 6,6 6,5 2,1 4,4 6,1 1,1]=12,8,6,4,10,4,6,7,8,11,6,12,6,6,6,4,6,3,5,12,6,4,8,11,6,5,10,7,6,6,7,7,12,11,3,8,7,2 > 7,4,3,1,5,1,3,3,4,6,3,7,3,3,3,1,3,0,2,7,3,1,4,6,3,2,5,3,3,3,3,3,7,6,0,4,3,**-1 > 37回転 > 127" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 2 }, @@ -3868,6 +3950,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3-1$12" output = "KeyNo.9c[3]m[12]-1 > 2D:[6,6 1,3 5,6 2,3 2,4 6,5 6,4 4,4 6,2 3,5 6,4 6,2 5,3 1,4 4,3 2,1 1,3 2,4 4,5 5,3 6,4 6,3 1,1]=12,4,11,5,6,11,10,8,8,8,10,8,8,5,7,3,4,6,9,8,10,9,2 > 7,1,6,2,3,6,5,4,4,4,5,4,4,2,3,0,1,3,4,4,5,4,**-1 > 22回転 > 80" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 6 }, @@ -3921,6 +4004,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3-1$12" output = "KeyNo.9c[3]m[12]-1 > 2D:[1,5 4,4 5,4 2,3 1,2 1,3 5,2 3,3 6,4 3,5 6,5 3,2 2,5 6,5 4,4 2,3 5,1 3,4 4,1 5,3 3,2 5,1 1,5 4,6 3,1 1,5 6,3 3,6 5,3 2,6 4,6 3,5 6,1 6,3 5,5 4,3 3,1 6,2 3,3 5,5 1,5 4,3 6,5 6,2 6,3 6,1 1,2 3,5 6,1 2,3 2,1 6,5 2,3 5,3 6,3 2,2 5,5 5,4 2,3 3,3 5,5 4,3 5,3 1,3 4,3 1,4 6,3 3,6 4,6 2,2 6,1 2,5 6,1 5,3 5,4 6,2 4,2 3,2 2,2 1,5 4,6 3,6 6,3 6,5 2,4 3,3 1,6 6,2 5,3 2,2 6,1 3,4 4,2 3,5 4,5 1,2 6,5 3,5 1,3 2,3 2,5 1,3 6,3 2,4 1,5 3,1 3,2 2,5 2,4 5,4 3,4 4,4 6,6 1,5 1,6 1,2 2,5 1,2 3,4 3,2 2,5 6,5 4,4 2,3 2,3 4,4 4,6 6,5 6,5 4,6 6,5 5,1 6,1 6,2 5,3 1,5 4,3 2,6 3,6 4,2 3,5 2,5 5,4 5,6 1,6 3,3 5,3 5,4 2,1 3,6 5,6 2,2 4,3 1,4 5,4 6,2 4,6 1,5 5,4 6,5 1,6 5,4 1,2 3,2 1,1]=12,8,9,5,3,4,7,6,10,8,11,5,7,11,8,5,6,7,5,8,5,6,6,10,4,6,9,9,8,8,10,8,7,9,10,7,4,8,6,10,6,7,11,8,9,7,3,8,7,5,3,11,5,8,9,4,10,9,5,6,10,7,8,4,7,5,9,9,10,4,7,7,7,8,9,8,6,5,4,6,10,9,9,11,6,6,7,8,8,4,7,7,6,8,9,3,11,8,4,5,7,4,9,6,6,4,5,7,6,9,7,8,12,6,7,3,7,3,7,5,7,11,8,5,5,8,10,11,11,10,11,6,7,8,8,6,7,8,9,6,8,7,9,11,7,6,8,9,3,9,11,4,7,5,9,8,10,6,9,11,7,9,3,5,2 > 7,4,4,2,0,1,3,3,5,4,6,2,3,6,4,2,3,3,2,4,2,3,3,5,1,3,4,4,4,4,5,4,3,4,5,3,1,4,3,5,3,3,6,4,4,3,0,4,3,2,0,6,2,4,4,1,5,4,2,3,5,3,4,1,3,2,4,4,5,1,3,3,3,4,4,4,3,2,1,3,5,4,4,6,3,3,3,4,4,1,3,3,3,4,4,0,6,4,1,2,3,1,4,3,3,1,2,3,3,4,3,4,7,3,3,0,3,0,3,2,3,6,4,2,2,4,5,6,6,5,6,3,3,4,4,3,3,4,4,3,4,3,4,6,3,3,4,4,0,4,6,1,3,2,4,4,5,3,4,6,3,4,0,2,**-1 > 164回転 > 546" +critical = true rands = [ { sides = 6, value = 1 }, { sides = 6, value = 5 }, @@ -4258,6 +4342,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3-1$12" output = "KeyNo.9c[3]m[12]-1 > 2D:[5,6 6,6 3,4 1,6 5,1 5,3 4,1 1,6 4,1 2,1 4,6 6,6 5,3 6,3 1,3 5,3 4,4 5,5 2,3 6,5 5,3 6,1 3,2 6,2 2,5 6,6 1,5 2,1 3,5 2,2 5,1 3,6 6,1 6,2 2,3 6,1 3,2 2,2 6,4 3,6 4,2 6,4 2,3 3,4 6,2 3,5 4,2 6,5 2,2 6,6 6,5 2,5 5,6 5,5 5,4 4,3 1,4 2,5 5,6 3,1 6,1 6,3 3,3 3,5 3,5 2,2 3,4 3,6 6,5 5,2 1,3 5,5 6,2 1,6 4,5 5,3 3,4 2,1 2,6 2,2 5,1 4,1 6,4 5,3 5,5 4,5 4,2 1,4 4,6 1,2 2,4 6,2 6,4 1,5 6,6 6,1 6,3 2,2 4,5 6,5 3,5 5,5 2,6 3,1 5,1 4,5 4,4 5,5 1,5 3,2 6,3 6,5 5,6 5,2 5,6 5,6 3,3 1,3 2,5 6,5 1,2 5,5 5,5 6,4 3,4 1,3 6,2 1,1]=12,12,7,7,6,8,5,7,5,3,10,12,8,9,4,8,8,10,5,11,8,7,5,8,7,12,6,3,8,4,6,9,7,8,5,7,5,4,10,9,6,10,5,7,8,8,6,11,4,12,11,7,11,10,9,7,5,7,11,4,7,9,6,8,8,4,7,9,11,7,4,10,8,7,9,8,7,3,8,4,6,5,10,8,10,9,6,5,10,3,6,8,10,6,12,7,9,4,9,11,8,10,8,4,6,9,8,10,6,5,9,11,11,7,11,11,6,4,7,11,3,10,10,10,7,4,8,2 > 7,7,3,3,3,4,2,3,2,0,5,7,4,4,1,4,4,5,2,6,4,3,2,4,3,7,3,0,4,1,3,4,3,4,2,3,2,1,5,4,3,5,2,3,4,4,3,6,1,7,6,3,6,5,4,3,2,3,6,1,3,4,3,4,4,1,3,4,6,3,1,5,4,3,4,4,3,0,4,1,3,2,5,4,5,4,3,2,5,0,3,4,5,3,7,3,4,1,4,6,4,5,4,1,3,4,4,5,3,2,4,6,6,3,6,6,3,1,3,6,0,5,5,5,3,1,4,**-1 > 127回転 > 453" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 6 }, @@ -4521,6 +4606,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3-1$12" output = "KeyNo.9c[3]m[12]-1 > 2D:[1,3 5,6 6,5 1,1]=12,11,11,2 > 7,6,6,**-1 > 3回転 > 18" +critical = true rands = [ { sides = 6, value = 1 }, { sides = 6, value = 3 }, @@ -4536,6 +4622,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3-1$12" output = "KeyNo.9c[3]m[12]-1 > 2D:[6,1 3,4 4,4 2,6 5,5 6,5 3,1 4,1 3,3 4,1 3,6 3,4 4,2 5,1 2,6 1,2 6,5 5,2 3,1 4,3 2,3 4,5 5,1 6,5 2,2 6,2 6,3 6,1 4,1 6,4 2,3 1,1]=12,7,8,8,10,11,4,5,6,5,9,7,6,6,8,3,11,7,4,7,5,9,6,11,4,8,9,7,5,10,5,2 > 7,3,4,4,5,6,1,2,3,2,4,3,3,3,4,0,6,3,1,3,2,4,3,6,1,4,4,3,2,5,2,**-1 > 31回転 > 102" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 1 }, @@ -4607,6 +4694,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3-1$12" output = "KeyNo.9c[3]m[12]-1 > 2D:[4,4 2,2 1,4 5,2 6,1 6,2 6,2 2,6 2,1 6,6 3,3 6,2 5,6 1,2 5,4 2,3 5,2 2,4 1,4 4,2 5,2 1,5 6,3 6,2 3,2 6,1 3,2 5,2 3,5 3,6 2,6 2,1 1,2 3,3 2,5 6,5 6,2 5,4 1,6 5,3 1,2 1,6 6,6 6,2 5,2 3,5 2,2 6,6 5,5 1,4 1,1]=12,4,5,7,7,8,8,8,3,12,6,8,11,3,9,5,7,6,5,6,7,6,9,8,5,7,5,7,8,9,8,3,3,6,7,11,8,9,7,8,3,7,12,8,7,8,4,12,10,5,2 > 7,1,2,3,3,4,4,4,0,7,3,4,6,0,4,2,3,3,2,3,3,3,4,4,2,3,2,3,4,4,4,0,0,3,3,6,4,4,3,4,0,3,7,4,3,4,1,7,5,2,**-1 > 50回転 > 163" +critical = true rands = [ { sides = 6, value = 4 }, { sides = 6, value = 4 }, @@ -4716,6 +4804,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3-1$12" output = "KeyNo.9c[3]m[12]-1 > 2D:[1,5 1,2 4,1 2,2 3,6 5,2 2,2 1,4 2,5 6,5 4,3 6,5 1,3 6,1 2,3 1,1]=12,3,5,4,9,7,4,5,7,11,7,11,4,7,5,2 > 7,0,2,1,4,3,1,2,3,6,3,6,1,3,2,**-1 > 15回転 > 43" +critical = true rands = [ { sides = 6, value = 1 }, { sides = 6, value = 5 }, @@ -4755,6 +4844,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3-1$12" output = "KeyNo.9c[3]m[12]-1 > 2D:[2,3 5,6 3,5 1,2 6,3 5,2 3,3 4,5 4,2 1,6 4,2 6,5 5,1 4,5 5,5 3,2 6,5 6,2 3,1 3,5 3,4 2,1 6,3 3,1 6,1 1,3 2,6 2,6 1,3 6,4 6,1 6,3 4,1 6,4 3,5 5,1 2,1 4,1 3,4 3,4 3,4 1,2 2,4 6,3 4,5 3,1 5,3 2,5 1,4 6,6 6,2 6,1 4,5 5,4 2,6 6,4 3,2 4,2 3,3 1,3 3,4 1,2 6,1 5,5 3,5 5,4 2,2 2,4 2,1 4,5 3,4 6,5 3,6 3,3 2,4 3,2 4,3 3,1 5,1 2,2 4,3 3,1 3,2 6,4 5,2 1,3 3,2 3,6 2,5 1,1]=12,11,8,3,9,7,6,9,6,7,6,11,6,9,10,5,11,8,4,8,7,3,9,4,7,4,8,8,4,10,7,9,5,10,8,6,3,5,7,7,7,3,6,9,9,4,8,7,5,12,8,7,9,9,8,10,5,6,6,4,7,3,7,10,8,9,4,6,3,9,7,11,9,6,6,5,7,4,6,4,7,4,5,10,7,4,5,9,7,2 > 7,6,4,0,4,3,3,4,3,3,3,6,3,4,5,2,6,4,1,4,3,0,4,1,3,1,4,4,1,5,3,4,2,5,4,3,0,2,3,3,3,0,3,4,4,1,4,3,2,7,4,3,4,4,4,5,2,3,3,1,3,0,3,5,4,4,1,3,0,4,3,6,4,3,3,2,3,1,3,1,3,1,2,5,3,1,2,4,3,**-1 > 89回転 > 273" +critical = true rands = [ { sides = 6, value = 2 }, { sides = 6, value = 3 }, @@ -4942,6 +5032,7 @@ rands = [ game_system = "SwordWorld" input = "K9@3-1$12" output = "KeyNo.9c[3]m[12]-1 > 2D:[5,1 6,6 5,6 3,3 3,6 6,1 5,1 5,2 5,6 3,4 2,5 1,2 6,5 1,1]=12,12,11,6,9,7,6,7,11,7,7,3,11,2 > 7,7,6,3,4,3,3,3,6,3,3,0,6,**-1 > 13回転 > 53" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 1 }, @@ -5058,6 +5149,7 @@ rands = [ game_system = "SwordWorld" input = "HK20+6@4" output = "KeyNo.20c[4]+6 > 2D:[4,3 2,5 2,6 1,1]=7,7,8,2 > (5,5,6,**+6)/2 > 3回転 > 11" +critical = true rands = [ { sides = 6, value = 4 }, { sides = 6, value = 3 }, @@ -5073,6 +5165,7 @@ rands = [ game_system = "SwordWorld" input = "K20+6@4h" output = "KeyNo.20c[4]+6 > 2D:[4,3 2,5 2,6 1,1]=7,7,8,2 > (5,5,6,**+6)/2 > 3回転 > 11" +critical = true rands = [ { sides = 6, value = 4 }, { sides = 6, value = 3 }, @@ -5088,6 +5181,7 @@ rands = [ game_system = "SwordWorld" input = "K(10+10)+6@4h" output = "KeyNo.20c[4]+6 > 2D:[4,3 2,5 2,6 1,1]=7,7,8,2 > (5,5,6,**+6)/2 > 3回転 > 11" +critical = true rands = [ { sides = 6, value = 4 }, { sides = 6, value = 3 }, diff --git a/test/data/SwordWorld2_0.toml b/test/data/SwordWorld2_0.toml index 4aa2d8b0d..8c033c349 100644 --- a/test/data/SwordWorld2_0.toml +++ b/test/data/SwordWorld2_0.toml @@ -2,6 +2,7 @@ game_system = "SwordWorld2.0" input = "K10r10" output = "KeyNo.10c[10]r[10] > 2D:[5,5 5,5 5,5 5,5 5,5 5,5 5,5 5,5 5,5 5,4]=10,10,10,10,10,10,10,10,10,9 > 5,8,10,11,13,15,18,21,23,22 > 9回転 > 146" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 5 }, @@ -29,6 +30,7 @@ rands = [ game_system = "SwordWorld2.0" input = "K10r10" output = "KeyNo.10c[10]r[10] > 2D:[6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 5,4]=12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,9 > 7,10,10,13,15,18,19,23,26,30,30,30,30,30,30,30,30,30,30,22 > 19回転 > 463" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 6 }, @@ -76,6 +78,7 @@ rands = [ game_system = "SwordWorld2.0" input = "K11r10" output = "KeyNo.11c[10]r[10] > 2D:[6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 5,4]=12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,9 > 7,10,11,13,15,18,20,23,26,30,30,30,30,30,30,30,30,30,30,22 > 19回転 > 465" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 6 }, @@ -123,6 +126,7 @@ rands = [ game_system = "SwordWorld2.0" input = "K40+24@8$12r10" output = "KeyNo.40c[8]m[12]r[10]+24 > 2D:[5,3 5,3 5,3 5,3 5,3 5,3 5,2]=12,8,8,8,8,8,7 > 13,12,13,16,18,19,19+24 > 6回転 > 134" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 3 }, @@ -144,6 +148,7 @@ rands = [ game_system = "SwordWorld2.0" input = "K10gf" output = "KeyNo.10c[10]gf > 2D:[5,5 2,2]=10,4 > 5,1 > 1回転 > 6" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 2 }, @@ -169,6 +174,7 @@ rands = [ game_system = "SwordWorld2.0" input = "K40+24@8$12r10gf" output = "KeyNo.40c[8]m[12]r[10]gf+24 > 2D:[4,4 4,4 4,4 4,4 4,4 4,4 3,3]=12,8,8,8,8,8,6 > 13,12,13,16,18,19,18+24 > 6回転 > 133" +critical = true rands = [ { sides = 6, value = 4 }, { sides = 6, value = 4 }, @@ -266,6 +272,7 @@ rands = [ game_system = "SwordWorld2.0" input = "HK20+6@4" output = "KeyNo.20c[4]+6 > 2D:[4,3 2,5 2,6 1,1]=7,7,8,2 > (5,5,6,**+6)/2 > 3回転 > 11" +critical = true rands = [ { sides = 6, value = 4 }, { sides = 6, value = 3 }, @@ -281,6 +288,7 @@ rands = [ game_system = "SwordWorld2.0" input = "K20+6@4h" output = "KeyNo.20c[4]+6 > 2D:[4,3 2,5 2,6 1,1]=7,7,8,2 > (5,5,6,**+6)/2 > 3回転 > 11" +critical = true rands = [ { sides = 6, value = 4 }, { sides = 6, value = 3 }, diff --git a/test/data/SwordWorld2_5.toml b/test/data/SwordWorld2_5.toml index 36c7eb195..1e871bccc 100644 --- a/test/data/SwordWorld2_5.toml +++ b/test/data/SwordWorld2_5.toml @@ -2,6 +2,7 @@ game_system = "SwordWorld2.5" input = "K10r10" output = "KeyNo.10c[10]r[10] > 2D:[5,5 5,5 5,5 5,5 5,5 5,5 5,5 5,5 5,5 5,4]=10,10,10,10,10,10,10,10,10,9 > 5,8,10,11,13,15,18,21,23,22 > 9回転 > 146" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 5 }, @@ -29,6 +30,7 @@ rands = [ game_system = "SwordWorld2.5" input = "K10r10" output = "KeyNo.10c[10]r[10] > 2D:[6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 5,4]=12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,9 > 7,10,10,13,15,18,19,23,26,30,30,30,30,30,30,30,30,30,30,22 > 19回転 > 463" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 6 }, @@ -76,6 +78,7 @@ rands = [ game_system = "SwordWorld2.5" input = "K11r10" output = "KeyNo.11c[10]r[10] > 2D:[6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 6,6 5,4]=12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,9 > 7,10,11,13,15,18,20,23,26,30,30,30,30,30,30,30,30,30,30,22 > 19回転 > 465" +critical = true rands = [ { sides = 6, value = 6 }, { sides = 6, value = 6 }, @@ -123,6 +126,7 @@ rands = [ game_system = "SwordWorld2.5" input = "K40+24@8$12r10" output = "KeyNo.40c[8]m[12]r[10]+24 > 2D:[5,3 5,3 5,3 5,3 5,3 5,3 5,2]=12,8,8,8,8,8,7 > 13,12,13,16,18,19,19+24 > 6回転 > 134" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 3 }, @@ -144,6 +148,7 @@ rands = [ game_system = "SwordWorld2.5" input = "K10gf" output = "KeyNo.10c[10]gf > 2D:[5,5 2,2]=10,4 > 5,1 > 1回転 > 6" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 2 }, @@ -153,6 +158,7 @@ rands = [ game_system = "SwordWorld2.5" input = "K40+24@8$12r10gf" output = "KeyNo.40c[8]m[12]r[10]gf+24 > 2D:[4,4 4,4 4,4 4,4 4,4 4,4 3,3]=12,8,8,8,8,8,6 > 13,12,13,16,18,19,18+24 > 6回転 > 133" +critical = true rands = [ { sides = 6, value = 4 }, { sides = 6, value = 4 }, @@ -205,6 +211,7 @@ rands = [ game_system = "SwordWorld2.5" input = "K20+5#1" output = "KeyNo.20c[10]a[+1]+5 > 2D:[5,4 2,2]=10,5 > 8,3+5 > 1回転 > 16" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 4 }, @@ -216,6 +223,7 @@ rands = [ game_system = "SwordWorld2.5" input = "K20+5#-1" output = "KeyNo.20c[10]a[-1]+5 > 2D:[5,6 2,2]=10,3 > 8,1+5 > 1回転 > 14" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 6 }, @@ -227,6 +235,7 @@ rands = [ game_system = "SwordWorld2.5" input = "K20+5#+10" output = "KeyNo.20c[10]a[+10]+5 > 2D:[1,1]=2 > ** > 自動的失敗" +fumble = true rands = [ { sides = 6, value = 1 }, { sides = 6, value = 1 }, @@ -236,6 +245,7 @@ rands = [ game_system = "SwordWorld2.5" input = "K20+5#10" output = "KeyNo.20c[10]a[+10]+5 > 2D:[2,1 1,1]=12,2 > 10,**+5 > 1回転 > 15" +critical = true rands = [ { sides = 6, value = 2 }, { sides = 6, value = 1 }, @@ -247,6 +257,7 @@ rands = [ game_system = "SwordWorld2.5" input = "K20+5#1$+1" output = "KeyNo.20c[10]m[+1]a[+1]+5 > 2D:[5,4 2,2]=11,5 > 9,3+5 > 1回転 > 17" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 4 }, @@ -258,6 +269,7 @@ rands = [ game_system = "SwordWorld2.5" input = "k10-5@9#2" output = "KeyNo.10c[9]a[+2]-5 > 2D:[5,4 2,2]=11,6 > 6,3-5 > 1回転 > 4" +critical = true rands = [ { sides = 6, value = 5 }, { sides = 6, value = 4 }, @@ -314,6 +326,7 @@ rands = [ game_system = "SwordWorld2.5" input = "HK20+6@4" output = "KeyNo.20c[4]+6 > 2D:[4,3 2,5 2,6 1,1]=7,7,8,2 > (5,5,6,**+6)/2 > 3回転 > 11" +critical = true rands = [ { sides = 6, value = 4 }, { sides = 6, value = 3 }, @@ -329,6 +342,7 @@ rands = [ game_system = "SwordWorld2.5" input = "K20+6@4h" output = "KeyNo.20c[4]+6 > 2D:[4,3 2,5 2,6 1,1]=7,7,8,2 > (5,5,6,**+6)/2 > 3回転 > 11" +critical = true rands = [ { sides = 6, value = 4 }, { sides = 6, value = 3 }, From 189870384962b50a493d2e29f0e25364d3d298ab Mon Sep 17 00:00:00 2001 From: Hideyo Mikisato Date: Wed, 21 Apr 2021 03:08:01 +0900 Subject: [PATCH 3/4] =?UTF-8?q?=E5=9E=8B=E3=81=AE=E3=82=B3=E3=83=A1?= =?UTF-8?q?=E3=83=B3=E3=83=88=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/bcdice/game_system/sword_world/transcendent_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bcdice/game_system/sword_world/transcendent_test.rb b/lib/bcdice/game_system/sword_world/transcendent_test.rb index d6f42d408..03cc54702 100644 --- a/lib/bcdice/game_system/sword_world/transcendent_test.rb +++ b/lib/bcdice/game_system/sword_world/transcendent_test.rb @@ -110,7 +110,7 @@ def dice_str(value_groups, sum) # @param [Integer] n_value_groups 出目のグループの数 # @param [Boolean] fumble ファンブルかどうか # @param [Boolean] critical クリティカルかどうか - # @return [String] + # @return [Integer] def result_status(total_sum, n_value_groups, fumble, critical) return NO_TARGET unless @target return FUMBLE if fumble From 92b14f0727ae43c11adadbae9fba5ebc23693719 Mon Sep 17 00:00:00 2001 From: Hideyo Mikisato Date: Wed, 21 Apr 2021 21:06:56 +0900 Subject: [PATCH 4/4] =?UTF-8?q?=E3=83=AC=E3=83=93=E3=83=A5=E3=83=BC?= =?UTF-8?q?=E5=8F=8D=E6=98=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/bcdice/game_system/SwordWorld.rb | 2 +- .../sword_world/transcendent_test.rb | 37 ++++++++----------- 2 files changed, 16 insertions(+), 23 deletions(-) diff --git a/lib/bcdice/game_system/SwordWorld.rb b/lib/bcdice/game_system/SwordWorld.rb index a4ad37c88..8d723aee1 100644 --- a/lib/bcdice/game_system/SwordWorld.rb +++ b/lib/bcdice/game_system/SwordWorld.rb @@ -309,7 +309,7 @@ def rollDice(_command) # @param rateResults [Array] # @param dice_total [Integer] # @param round [Integer] - # @return [Array] output, critical, fumble + # @return [Array(String, Boolean, Boolean)] output, critical, fumble def getResultText(rating_total, command, diceResults, diceResultTotals, rateResults, dice_total, round) sequence = [] diff --git a/lib/bcdice/game_system/sword_world/transcendent_test.rb b/lib/bcdice/game_system/sword_world/transcendent_test.rb index 03cc54702..d199ed281 100644 --- a/lib/bcdice/game_system/sword_world/transcendent_test.rb +++ b/lib/bcdice/game_system/sword_world/transcendent_test.rb @@ -5,19 +5,12 @@ module GameSystem class SwordWorld2_0 < SwordWorld # 超越判定のノード class TranscendentTest - NO_TARGET = 0 - SUCCESS = 1 - FAILURE = 2 - SUPER_SUCCESS = 3 - CRITICAL = 4 - FUMBLE = 5 - RESULT_STR = { - SUCCESS => "成功", - FAILURE => "失敗", - SUPER_SUCCESS => "超成功", - CRITICAL => "自動的成功", - FUMBLE => "自動的失敗", + success: "成功", + failure: "失敗", + super_success: "超成功", + critical: "自動的成功", + fumble: "自動的失敗", }.freeze # @param [Integer] critical_value クリティカル値 @@ -67,10 +60,10 @@ def execute(randomizer) return Result.new.tap do |r| r.text = parts.join(" > ") - r.fumble = result == FUMBLE - r.critical = result == CRITICAL - r.success = [SUCCESS, SUPER_SUCCESS, CRITICAL].include?(result) - r.failure = [FAILURE, FUMBLE].include?(result) + r.fumble = result == :fumble + r.critical = result == :critical + r.success = [:success, :super_success, :critical].include?(result) + r.failure = [:failure, :fumble].include?(result) end end @@ -110,17 +103,17 @@ def dice_str(value_groups, sum) # @param [Integer] n_value_groups 出目のグループの数 # @param [Boolean] fumble ファンブルかどうか # @param [Boolean] critical クリティカルかどうか - # @return [Integer] + # @return [Symbol] def result_status(total_sum, n_value_groups, fumble, critical) - return NO_TARGET unless @target - return FUMBLE if fumble - return CRITICAL if critical + return :no_target unless @target + return :fumble if fumble + return :critical if critical if total_sum.send(@cmp_op, @target) # 振り足しが行われ、合計値が41以上ならば「超成功」 - n_value_groups >= 2 && total_sum >= 41 ? SUPER_SUCCESS : SUCCESS + n_value_groups >= 2 && total_sum >= 41 ? :super_success : :success else - FAILURE + :failure end end end