mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
33 lines
1.1 KiB
Markdown
33 lines
1.1 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [BladeburnerFormulas](./bitburner.bladeburnerformulas.md) > [skillMaxUpgradeCount](./bitburner.bladeburnerformulas.skillmaxupgradecount.md)
|
|
|
|
## BladeburnerFormulas.skillMaxUpgradeCount() method
|
|
|
|
Calculate the number of times that you can upgrade a skill.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
skillMaxUpgradeCount(
|
|
name: BladeburnerSkillName | `${BladeburnerSkillName}`,
|
|
level: number,
|
|
skillPoints: number,
|
|
): number;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| name | [BladeburnerSkillName](./bitburner.bladeburnerskillname.md) \| \`${[BladeburnerSkillName](./bitburner.bladeburnerskillname.md)<!-- -->}\` | Skill name. It's case-sensitive and must be an exact match. |
|
|
| level | number | Skill level. It must be a non-negative number. |
|
|
| skillPoints | number | Number of skill points to upgrade the skill. It must be a positive number. |
|
|
|
|
**Returns:**
|
|
|
|
number
|
|
|
|
Number of times that you can upgrade the skill.
|
|
|