From 2df1196fca4eeda4f1cd2950a65a6b4d675769f1 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 21 Dec 2022 09:30:59 -0800 Subject: [PATCH] Make ZomboCom's random number generator degrade even more By appearing 1 in 4 times rather than 1 in 6, hopefully this misbehavior will be even more apparent. --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index b80943f..babe270 100644 --- a/index.js +++ b/index.js @@ -229,10 +229,10 @@ io.on('connection', (socket) => { } else { // Inject the target seed for the "dice" prompt once every - // 6 requests for a random seed (and only if the word + // 4 requests for a random seed (and only if the word // "dice" does not appear in the prompt). if (!code && !prompt.toLowerCase().includes("dice")) { - if (state.images.length % 6 == 0) { + if (state.images.length % 4 == 0) { code = 319630254; } } -- 2.43.0