summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-01-08 13:49:08 +0100
committerTor Andersson <tor@ccxvii.net>2024-01-08 16:36:48 +0100
commit7111623b8bff1d8f616e56dca131d65b0d7761ea (patch)
tree4bdaf234c54da079cc88248cf6509fc36018947b /rules.js
parentba60397ac0ae4b12d1b731f2b74fab4f1ddbf188 (diff)
downloadtable-battles-7111623b8bff1d8f616e56dca131d65b0d7761ea.tar.gz
Use 1-3 in data (and map to 1/2/3 in display).
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/rules.js b/rules.js
index dbca499..93e8a80 100644
--- a/rules.js
+++ b/rules.js
@@ -991,12 +991,10 @@ const place_dice_check = {
"Any": (c) => check_range(c, 1, 6),
"1/2": (c) => check_range(c, 1, 2),
"1-3": (c) => check_range(c, 1, 3),
- "1/2/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-4": (c) => check_range(c, 2, 4),
- "2/3/4": (c) => check_range(c, 2, 4),
"2-5": (c) => check_range(c, 2, 5),
"2-6": (c) => check_range(c, 2, 6),
"3/4": (c) => check_range(c, 3, 4),
@@ -1004,7 +1002,6 @@ const place_dice_check = {
"3-6": (c) => check_range(c, 3, 6),
"4/5": (c) => check_range(c, 4, 5),
"4-6": (c) => check_range(c, 4, 6),
- "4/5/6": (c) => check_range(c, 4, 6),
"5/6": (c) => check_range(c, 5, 6),
"(1/2)": (c) => check_range(c, 1, 2),
"(1-3)": (c) => check_range(c, 1, 3),
@@ -1044,21 +1041,17 @@ const place_dice_gen = {
"Any": (c) => gen_range(c, 1, 6),
"1/2": (c) => gen_range(c, 1, 2),
"1-3": (c) => gen_range(c, 1, 3),
- "1/2/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-4": (c) => gen_range(c, 2, 4),
- "2/3/4": (c) => gen_range(c, 2, 4),
"2-5": (c) => gen_range(c, 2, 5),
"2-6": (c) => gen_range(c, 2, 6),
"3/4": (c) => gen_range(c, 3, 4),
"3-5": (c) => gen_range(c, 3, 5),
- "3/4/5": (c) => gen_range(c, 3, 5),
"3-6": (c) => gen_range(c, 3, 6),
"4/5": (c) => gen_range(c, 4, 5),
"4-6": (c) => gen_range(c, 4, 6),
- "4/5/6": (c) => gen_range(c, 4, 6),
"5/6": (c) => gen_range(c, 5, 6),
"(1/2)": (c) => gen_range(c, 1, 2),
"(1-3)": (c) => gen_range(c, 1, 3),
@@ -1098,21 +1091,17 @@ const place_dice_take = {
"Any": (c, d) => take_single(c, d),
"1/2": (c, d) => take_single(c, d),
"1-3": (c, d) => take_single(c, d),
- "1/2/3": (c, d) => take_single(c, d),
"1-4": (c, d) => take_single(c, d),
"1-5": (c, d) => take_single(c, d),
"2/3": (c, d) => take_single(c, d),
"2-4": (c, d) => take_single(c, d),
- "2/3/4": (c, d) => take_single(c, d),
"2-5": (c, d) => take_single(c, d),
"2-6": (c, d) => take_single(c, d),
"3/4": (c, d) => take_single(c, d),
"3-5": (c, d) => take_single(c, d),
- "3/4/5": (c, d) => take_single(c, d),
"3-6": (c, d) => take_single(c, d),
"4/5": (c, d) => take_single(c, d),
"4-6": (c, d) => take_single(c, d),
- "4/5/6": (c, d) => take_single(c, d),
"5/6": (c, d) => take_single(c, d),
"(1/2)": (c, d) => take_single(c, d),
"(1-3)": (c, d) => take_single(c, d),