mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23:48 +01:00
28 lines
659 B
Markdown
28 lines
659 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.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
calculateSkill(exp: number, skillMult?: number): number;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| exp | number | experience for that skill |
|
|
| skillMult | number | Multiplier for that skill, defaults to 1. |
|
|
|
|
<b>Returns:</b>
|
|
|
|
number
|
|
|
|
The calculated skill level.
|
|
|