bitburner-src/markdown/bitburner.hacknetserversformulas.hashupgradecost.md
Olivier Gagnon 14317628e6 formulas doc
2021-12-08 19:19:07 -05:00

677 B

Home > bitburner > HacknetServersFormulas > hashUpgradeCost

HacknetServersFormulas.hashUpgradeCost() method

Calculate hash cost of an upgrade.

Signature:

hashUpgradeCost(upgName: number, level: number): number;

Parameters

Parameter Type Description
upgName number name of the upgrade
level number level of the upgrade

Returns:

number

The calculated hash cost.