DARKNET: make threads' bonus apply to timing attack puzzle's extra time per char (#2466)

This commit is contained in:
Michael Ficocelli
2026-02-05 07:43:13 -05:00
committed by GitHub
parent 2d69387227
commit 77cc582bf9

View File

@@ -105,7 +105,7 @@ export const calculateAuthenticationTime = (
// Add extra time for timing attack server, per correct character
const sharedChars =
darknetServerData.modelId === ModelIds.TimingAttack ? getSharedChars(password, attemptedPassword) : 0;
const sharedCharsExtraTime = sharedChars * 50;
const sharedCharsExtraTime = sharedChars * 50 * threadsFactor;
return time * calculateIntelligenceBonus(person.skills.intelligence, 0.25) + sharedCharsExtraTime;
};