mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
BUGFIX: hacknetNodeCost formula API throws when using documented optional parameter (#2577)
This commit is contained in:
@@ -9,7 +9,7 @@ Calculate the cost of a hacknet node.
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
hacknetNodeCost(n: number, mult: number): number;
|
||||
hacknetNodeCost(n: number, mult?: number): number;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
@@ -58,7 +58,7 @@ number
|
||||
|
||||
</td><td>
|
||||
|
||||
player cost reduction (defaults to 1)
|
||||
_(Optional)_ player cost reduction (defaults to 1)
|
||||
|
||||
|
||||
</td></tr>
|
||||
|
||||
Reference in New Issue
Block a user