summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-01-29 16:50:27 +0100
committerTor Andersson <tor@ccxvii.net>2024-01-29 16:50:27 +0100
commit84238448ff4a25c2053767a7b74398259dbae3f7 (patch)
treea54f61e61da6dd07324f87e01defcb6e162c1a63
parent85a1cba9ccdecf8da98b951fed73361a72b87324 (diff)
downloadtable-battles-84238448ff4a25c2053767a7b74398259dbae3f7.tar.gz
Fix typo with 2/3 dice range.
-rw-r--r--rules.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/rules.js b/rules.js
index 76638e9..94420fc 100644
--- a/rules.js
+++ b/rules.js
@@ -993,7 +993,7 @@ const place_dice_check = {
"1-3": (c) => check_range(c, 1, 3),
"1-4": (c) => check_range(c, 1, 4),
"1-5": (c) => check_range(c, 1, 5),
- "2/3": (c) => check_range(c, 2, 2),
+ "2/3": (c) => check_range(c, 2, 3),
"2-4": (c) => check_range(c, 2, 4),
"2-5": (c) => check_range(c, 2, 5),
"2-6": (c) => check_range(c, 2, 6),
@@ -1007,7 +1007,7 @@ const place_dice_check = {
"(1-3)": (c) => check_range(c, 1, 3),
"(1-4)": (c) => check_range(c, 1, 4),
"(1-5)": (c) => check_range(c, 1, 5),
- "(2/3)": (c) => check_range(c, 2, 2),
+ "(2/3)": (c) => check_range(c, 2, 3),
"(2-4)": (c) => check_range(c, 2, 4),
"(2-5)": (c) => check_range(c, 2, 5),
"(2-6)": (c) => check_range(c, 2, 6),
@@ -1043,7 +1043,7 @@ const place_dice_gen = {
"1-3": (c) => gen_range(c, 1, 3),
"1-4": (c) => gen_range(c, 1, 4),
"1-5": (c) => gen_range(c, 1, 5),
- "2/3": (c) => gen_range(c, 2, 2),
+ "2/3": (c) => gen_range(c, 2, 3),
"2-4": (c) => gen_range(c, 2, 4),
"2-5": (c) => gen_range(c, 2, 5),
"2-6": (c) => gen_range(c, 2, 6),
@@ -1057,7 +1057,7 @@ const place_dice_gen = {
"(1-3)": (c) => gen_range(c, 1, 3),
"(1-4)": (c) => gen_range(c, 1, 4),
"(1-5)": (c) => gen_range(c, 1, 5),
- "(2/3)": (c) => gen_range(c, 2, 2),
+ "(2/3)": (c) => gen_range(c, 2, 3),
"(2-4)": (c) => gen_range(c, 2, 4),
"(2-5)": (c) => gen_range(c, 2, 5),
"(2-6)": (c) => gen_range(c, 2, 6),