diff --git a/src/BitNode/BitNode.tsx b/src/BitNode/BitNode.tsx index 2d3012557..b198b5200 100644 --- a/src/BitNode/BitNode.tsx +++ b/src/BitNode/BitNode.tsx @@ -396,6 +396,15 @@ BitNodes["BitNode9"] = new BitNode(
(Note that the Level 3 effect of this Source-File only applies when entering a new BitNode, NOT when installing Augmentations) +
+
+ This Source-File also increases your hacknet multipliers by: +
+ Level 1: 8% +
+ Level 2: 12% +
+ Level 3: 14% ), ); diff --git a/src/Hacknet/data/Constants.ts b/src/Hacknet/data/Constants.ts index 46a86dc4a..9d675eaea 100644 --- a/src/Hacknet/data/Constants.ts +++ b/src/Hacknet/data/Constants.ts @@ -18,7 +18,7 @@ export const HacknetNodeConstants: { MaxRam: number; MaxCores: number; } = { - MoneyGainPerLevel: 1.6, + MoneyGainPerLevel: 1.5, BaseCost: 1000, LevelBaseCost: 1, diff --git a/src/SourceFile/SourceFiles.tsx b/src/SourceFile/SourceFiles.tsx index 4c0814731..c0e9daef7 100644 --- a/src/SourceFile/SourceFiles.tsx +++ b/src/SourceFile/SourceFiles.tsx @@ -152,6 +152,15 @@ SourceFiles["SourceFile9"] = new SourceFile(
(Note that the Level 3 effect of this Source-File only applies when entering a new BitNode, NOT when installing Augmentations) +
+
+ This Source-File also increases your hacknet multipliers by: +
+ Level 1: 8% +
+ Level 2: 12% +
+ Level 3: 14% ), ); diff --git a/src/SourceFile/applySourceFile.ts b/src/SourceFile/applySourceFile.ts index a612ea51c..9b5e22195 100644 --- a/src/SourceFile/applySourceFile.ts +++ b/src/SourceFile/applySourceFile.ts @@ -133,7 +133,17 @@ export function applySourceFile(srcFile: PlayerOwnedSourceFile): void { } case 9: { // Hacktocracy - // This has non-multiplier effects + let mult = 0; + for (let i = 0; i < srcFile.lvl; ++i) { + mult += 8 / Math.pow(2, i); + } + const incMult = 1 + mult / 100; + const decMult = 1 - mult / 100; + Player.hacknet_node_core_cost_mult *= decMult; + Player.hacknet_node_level_cost_mult *= decMult; + Player.hacknet_node_money_mult *= incMult; + Player.hacknet_node_purchase_cost_mult *= decMult; + Player.hacknet_node_ram_cost_mult *= decMult; break; } case 10: {