mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-29 17:37:34 +01:00
25 lines
649 B
Markdown
25 lines
649 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [HacknetServersFormulas](./bitburner.hacknetserversformulas.md) > [levelUpgradeCost](./bitburner.hacknetserversformulas.levelupgradecost.md)
|
|
|
|
## HacknetServersFormulas.levelUpgradeCost() method
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
levelUpgradeCost(startingLevel: number, extraLevels?: number, costMult?: number): number;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| startingLevel | number | |
|
|
| extraLevels | number | |
|
|
| costMult | number | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
number
|
|
|