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 ) > [Bladeburner ](./bitburner.bladeburner.md ) > [getSkillUpgradeCost ](./bitburner.bladeburner.getskillupgradecost.md )
## Bladeburner.getSkillUpgradeCost() method
Get cost to upgrade skill.
2023-02-11 19:18:50 +01:00
**Signature:**
2022-10-21 17:16:00 +02:00
```typescript
2024-08-17 23:08:55 +02:00
getSkillUpgradeCost(skillName: BladeburnerSkillName | `${BladeburnerSkillName}` , count?: number): number;
2022-10-21 17:16:00 +02:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
2024-08-17 23:08:55 +02:00
| skillName | [BladeburnerSkillName ](./bitburner.bladeburnerskillname.md ) \| \`${[BladeburnerSkillName](./bitburner.bladeburnerskillname.md)<!-- --> }\` | Name of skill. Case-sensitive and must be an exact match. |
2023-02-11 19:18:50 +01:00
| count | number | _(Optional)_ Number of times to upgrade the skill. Defaults to 1 if not specified. |
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
Number of skill points needed to upgrade the specified skill.
## Remarks
RAM cost: 4 GB
This function returns the number of skill points needed to upgrade the specified skill the specified number of times.
2024-07-07 23:49:23 +02:00
The function returns Infinity if the sum of the current level and count exceeds the maximum level.
2022-10-21 17:16:00 +02:00