mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 20:25:45 +01:00
677 B
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.