mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
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.