mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-30 01:47:33 +01:00
28 lines
657 B
Markdown
28 lines
657 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [SkillsFormulas](./bitburner.skillsformulas.md) > [calculateExp](./bitburner.skillsformulas.calculateexp.md)
|
|
|
|
## SkillsFormulas.calculateExp() method
|
|
|
|
Calculate exp for skill level.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
calculateExp(skill: number, skillMult?: number): number;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| skill | number | target skill level |
|
|
| skillMult | number | Multiplier for that skill, defaults to 1. |
|
|
|
|
<b>Returns:</b>
|
|
|
|
number
|
|
|
|
The calculated exp required.
|
|
|