mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 13:43:49 +01:00
25 lines
641 B
Markdown
25 lines
641 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [HacknetServersFormulas](./bitburner.hacknetserversformulas.md) > [coreUpgradeCost](./bitburner.hacknetserversformulas.coreupgradecost.md)
|
||
|
|
||
|
## HacknetServersFormulas.coreUpgradeCost() method
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
coreUpgradeCost(startingCore: number, extraCores?: number, costMult?: number): number;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| startingCore | number | |
|
||
|
| extraCores | number | |
|
||
|
| costMult | number | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
number
|
||
|
|