mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
8c8af38a3a
so far we calculate the effect of weaken in three +1 places ns.weaken ns.weakenAnalyze terminal weaken and server.weaken where the bn mult is applied i extracted the logic into a new netscript helper function getWeakenEffect this gives us one place if we want to change the formula a side effect i added the server.cpuCores to the terminal weaken to future proof it if the npc server core pr (#963) is merged |
||
---|---|---|
.. | ||
LoadedModule.ts | ||
RamCalculationErrorCodes.ts | ||
RamCalculations.ts | ||
RunningScript.ts | ||
Script.ts | ||
ScriptHelpers.ts |