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

15 lines
454 B
ReStructuredText
Raw Normal View History

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