mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 21:53:50 +01:00
28 lines
666 B
Markdown
28 lines
666 B
Markdown
<!-- 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.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
calculateSkill(exp: number, skillMult?: number): number;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| exp | number | experience for that skill |
|
|
| skillMult | number | _(Optional)_ Multiplier for that skill, defaults to 1. |
|
|
|
|
**Returns:**
|
|
|
|
number
|
|
|
|
The calculated skill level.
|
|
|