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) > [calculateSkill](./bitburner.skillsformulas.calculateskill.md)
|
|
|
|
|
|
|
|
## SkillsFormulas.calculateSkill() method
|
|
|
|
|
|
|
|
Calculate skill level.
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Signature:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
calculateSkill(exp: number, skillMult?: number): number;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| exp | number | experience for that skill |
|
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 skill level.
|
|
|
|
|