From 6d87d7b74307b6b809c59e866c7858ea4f3be284 Mon Sep 17 00:00:00 2001 From: M Date: Sat, 19 Feb 2022 14:21:39 -0800 Subject: [PATCH] Fix https://github.com/danielyxie/bitburner/issues/2996 Trivial fix of https://github.com/danielyxie/bitburner/issues/2996 by adding the BN multiplier to analyze. --- src/NetscriptFunctions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NetscriptFunctions.ts b/src/NetscriptFunctions.ts index ae6cd479e..a24d882c1 100644 --- a/src/NetscriptFunctions.ts +++ b/src/NetscriptFunctions.ts @@ -703,7 +703,7 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS { }, weakenAnalyze: function (threads: any, cores: any = 1): number { const coreBonus = 1 + (cores - 1) / 16; - return CONSTANTS.ServerWeakenAmount * threads * coreBonus; + return CONSTANTS.ServerWeakenAmount * threads * coreBonus * BitNodeMultipliers.ServerWeakenRate; }, share: function (): Promise { workerScript.log("share", () => "Sharing this computer.");