2024-08-16 22:15:20 +02:00
<!-- 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
2024-10-22 05:39:56 +02:00
skillMaxUpgradeCount(
name: BladeburnerSkillName | `${BladeburnerSkillName}` ,
level: number,
skillPoints: number,
): number;
2024-08-16 22:15:20 +02:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
2024-10-22 05:39:56 +02:00
| name | [BladeburnerSkillName ](./bitburner.bladeburnerskillname.md ) \| \`${[BladeburnerSkillName](./bitburner.bladeburnerskillname.md)<!-- --> }\` | Skill name. It's case-sensitive and must be an exact match. |
2024-08-16 22:15:20 +02:00
| 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.