mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
DARKNET: make threads' bonus apply to timing attack puzzle's extra time per char (#2466)
This commit is contained in:
committed by
GitHub
parent
2d69387227
commit
77cc582bf9
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user