WI inclusion groups will never roll for trigger%

This commit is contained in:
Wolfsblvt 2024-04-27 03:44:00 +02:00
parent 8db39a58fb
commit 7df2f7e752
1 changed files with 1 additions and 1 deletions

View File

@ -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;