From 5fa74ed1017534df0ba4645682a4ac509de0cb1c Mon Sep 17 00:00:00 2001 From: "Saw, Hansly Kendrich" Date: Thu, 15 Sep 2022 21:18:07 +0800 Subject: [PATCH] fixed roll.js - Three-of-a-kind should now be detected properly. --- scripts/roll.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/roll.js b/scripts/roll.js index 8c6b516..5b6f5f1 100644 --- a/scripts/roll.js +++ b/scripts/roll.js @@ -106,7 +106,7 @@ function rollDiceWithResults() { if (value_dices_numbers.six == 3) {count_threes++}; if (count_threes == 2) { - result_number = 3.2; + result_number = 2.1; }; };