VARIOUS: Various changes prior to release 2.2 (#271)

See PR #271 description
This commit is contained in:
Snarling
2022-12-29 20:28:53 -05:00
committed by GitHub
parent 24ad342203
commit fb1f95c26e
310 changed files with 3768 additions and 2583 deletions
+2 -2
View File
@@ -6,7 +6,7 @@
* - Updating Hash Manager capacity
* - Purchasing hash upgrades
*
* TODO Should probably split the different types of functions into their own modules
* TODO unplanned Should probably split the different types of functions into their own modules
*/
import { HacknetNode } from "./HacknetNode";
import { calculateNodeCost } from "./formulas/HacknetNodes";
@@ -531,7 +531,7 @@ export function purchaseHashUpgrade(upgName: string, upgTarget: string, count =
return false;
}
for (const division of corp.divisions) {
division.sciResearch.qty += upg.value * count;
division.sciResearch += upg.value * count;
}
break;
}