mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-25 17:13:47 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
1.5 KiB
1.5 KiB
Home > bitburner > HacknetServersFormulas
HacknetServersFormulas interface
Hacknet Server formulas
Signature:
interface HacknetServersFormulas
Methods
Method | Description |
---|---|
cacheUpgradeCost(startingCache, extraCache) | Calculate cost of upgrading hacknet server cache. |
constants() | All constants used by the game. |
coreUpgradeCost(startingCore, extraCores, costMult) | Calculate cost of upgrading hacknet server cores. |
hacknetServerCost(n, mult) | Calculate the cost of a hacknet server. |
hashGainRate(level, ramUsed, maxRam, cores, mult) | Calculate hash gain rate. |
hashUpgradeCost(upgName, level) | Calculate hash cost of an upgrade. |
levelUpgradeCost(startingLevel, extraLevels, costMult) | Calculate cost of upgrading hacknet server level. |
ramUpgradeCost(startingRam, extraLevels, costMult) | Calculate cost of upgrading hacknet server ram. |