2019-03-03 04:08:54 +01:00
|
|
|
getSkillUpgradeCost() Netscript Function
|
|
|
|
========================================
|
|
|
|
|
2021-03-12 08:51:56 +01:00
|
|
|
.. js:function:: getSkillUpgradeCost(skillName)
|
2021-03-11 22:48:00 +01:00
|
|
|
|
2021-03-07 10:13:37 +01:00
|
|
|
:RAM cost: 4 GB
|
2019-03-03 04:08:54 +01:00
|
|
|
: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:
|
2019-03-03 04:08:54 +01:00
|
|
|
|
2021-03-12 08:51:56 +01:00
|
|
|
.. code-block:: javascript
|
2019-03-03 04:08:54 +01:00
|
|
|
|
2021-03-12 08:51:56 +01:00
|
|
|
bladeburner.getSkillUpgradeCost("Overclock"); // returns: 120
|