From f4a7f0eaab58112b350ca763acf1d2ff984f40d4 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Fri, 18 Aug 2023 15:44:09 -0600 Subject: [PATCH] > Change word scramble to 1 in 10 (so its actually possible --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 36c011c..c1c414d 100644 --- a/index.js +++ b/index.js @@ -803,8 +803,8 @@ client.on('messageCreate', async message => { if (curCooldown) { return; } - // 1 in 100 chance to start a word scramble - if (Math.random() < 0.01) { + // 1 in 50 chance to start a word scramble + if (Math.floor(Math.random() * 10) == 0) { // Start a word scramble setCooldown({id: 0}, "wordscramble", 5 * 60 * 1000) gameData = wordScramble();