From 7df2f7e7527ca923a2f9e7d2050e01223aafb3c8 Mon Sep 17 00:00:00 2001 From: Wolfsblvt Date: Sat, 27 Apr 2024 03:44:00 +0200 Subject: [PATCH] WI inclusion groups will never roll for trigger% --- public/scripts/world-info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/world-info.js b/public/scripts/world-info.js index 227011cca..79d5a2b2c 100644 --- a/public/scripts/world-info.js +++ b/public/scripts/world-info.js @@ -2254,7 +2254,7 @@ async function checkWorldInfo(chat, maxContext) { for (const entry of newEntries) { const rollValue = Math.random() * 100; - if (entry.useProbability && rollValue > entry.probability) { + if (!entry.group && entry.useProbability && rollValue > entry.probability) { console.debug(`WI entry ${entry.uid} ${entry.key} failed probability check, skipping`); failedProbabilityChecks.add(entry); continue;