2022-10-21 17:16:00 +02:00
|
|
|
<!-- 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.
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Signature:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
calculateExp(skill: number, skillMult?: number): number;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| skill | number | target skill level |
|
2023-02-11 19:18:50 +01:00
|
|
|
| skillMult | number | _(Optional)_ Multiplier for that skill, defaults to 1. |
|
2022-10-21 17:16:00 +02:00
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Returns:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
number
|
|
|
|
|
|
|
|
The calculated exp required.
|
|
|
|
|