bitburner-src/doc/source/netscript/bladeburnerapi/getSkillLevel.rst

14 lines
366 B
ReStructuredText
Raw Normal View History

getSkillLevel() Netscript Function
==================================
2021-03-12 08:51:56 +01:00
.. js:function:: getSkillLevel(skillName)
2021-03-11 22:48:00 +01:00
:RAM cost: 4 GB
2021-03-12 08:51:56 +01:00
:param string skillName: Name of skill. Case-sensitive.
:returns: Level of specified skill, -1 for invalid skills.
2021-03-12 08:51:56 +01:00
Example:
2021-03-12 08:51:56 +01:00
.. code-block:: javascript
2021-03-12 08:51:56 +01:00
bladeburner.getSkillLevel("Overclock"); // returns: 90