mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 20:25:45 +01:00
28 lines
664 B
Markdown
28 lines
664 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.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
calculateExp(skill: number, skillMult?: number): number;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| skill | number | target skill level |
|
|
| skillMult | number | _(Optional)_ Multiplier for that skill, defaults to 1. |
|
|
|
|
**Returns:**
|
|
|
|
number
|
|
|
|
The calculated exp required.
|
|
|