bitburner-src/doc/source/netscript/bladeburnerapi/getSkillUpgradeCost.rst
2021-03-12 02:51:56 -05:00

15 lines
454 B
ReStructuredText

getSkillUpgradeCost() Netscript Function
========================================
.. js:function:: getSkillUpgradeCost(skillName)
:RAM cost: 4 GB
:param string skillName: Name of skill. Case-sensitive and must be an exact match
:returns: Amount of skill points needed to upgrade the specified skill. -1 for invalid skills.
Example:
.. code-block:: javascript
bladeburner.getSkillUpgradeCost("Overclock"); // returns: 120