Removed CharacterInfo maximum hacknet, styling in the options, comments in exploits

This commit is contained in:
Olivier Gagnon
2021-03-09 23:22:05 -05:00
parent 250841df66
commit af584e8c87
6 changed files with 90 additions and 36 deletions

View File

@@ -120,7 +120,7 @@ export function getCostOfNextHacknetServer() {
const numOwned = Player.hacknetNodes.length;
const mult = HacknetServerPurchaseMult;
if (numOwned > MaxNumberHacknetServers) { return Infinity; }
if (numOwned >= MaxNumberHacknetServers) { return Infinity; }
return BaseCostForHacknetServer * Math.pow(mult, numOwned) * Player.hacknet_node_purchase_cost_mult;
}