Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 671 Bytes

bitburner.hacknetserversformulas.hashupgradecost.md

File metadata and controls

27 lines (16 loc) · 671 Bytes

Home > bitburner > HacknetServersFormulas > hashUpgradeCost

HacknetServersFormulas.hashUpgradeCost() method

Calculate hash cost of an upgrade.

Signature:

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

Parameters

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

Returns:

number

The calculated hash cost.