From 84238448ff4a25c2053767a7b74398259dbae3f7 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 29 Jan 2024 16:50:27 +0100 Subject: Fix typo with 2/3 dice range. --- rules.js | 8 ++++---- 1 file 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), -- cgit v1.2.3