mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-24 00:23:49 +01:00
1.1 KiB
1.1 KiB
Home > bitburner > BladeburnerFormulas > skillMaxUpgradeCount
BladeburnerFormulas.skillMaxUpgradeCount() method
Calculate the number of times that you can upgrade a skill.
Signature:
skillMaxUpgradeCount(
name: BladeburnerSkillName | `${BladeburnerSkillName}`,
level: number,
skillPoints: number,
): number;
Parameters
Parameter | Type | Description |
---|---|---|
name | BladeburnerSkillName | `${BladeburnerSkillName}` | 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.