mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 01:53:48 +01:00
cacecda72f
* API: Add types for parameters of gym-university-bladeburner API * Fix merging error
912 B
912 B
Home > bitburner > Bladeburner > getSkillLevel
Bladeburner.getSkillLevel() method
Get skill level.
Signature:
getSkillLevel(skillName: BladeburnerSkillName | `${BladeburnerSkillName}`): number;
Parameters
Parameter | Type | Description |
---|---|---|
skillName | BladeburnerSkillName | `${BladeburnerSkillName}` | Name of skill. Case-sensitive and must be an exact match. |
Returns:
number
Level in the specified skill.
Remarks
RAM cost: 4 GB
This function returns your level in the specified skill.
The function returns -1 if an invalid skill name is passed in.