This commit is contained in:
Olivier Gagnon
2022-08-17 08:50:05 -04:00
parent ba5b0be7f4
commit 3217f53717
291 changed files with 1613 additions and 2367 deletions
+2 -1
View File
@@ -9,7 +9,7 @@ Get the cost of a hash upgrade.
<b>Signature:</b>
```typescript
hashCost(upgName: string): number;
hashCost(upgName: string, count?: number): number;
```
## Parameters
@@ -17,6 +17,7 @@ hashCost(upgName: string): number;
| Parameter | Type | Description |
| --- | --- | --- |
| upgName | string | Name of the upgrade of Hacknet Node. |
| count | number | Number of upgrades to buy at once. Defaults to 1 if not specified. |
<b>Returns:</b>