mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 23:38:35 +02:00
work to make documentation unified.
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
getSkillUpgradeCost() Netscript Function
|
||||
========================================
|
||||
|
||||
.. js:function:: getSkillUpgradeCost(skillName="")
|
||||
.. 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.
|
||||
|
||||
This function returns the number of skill points needed to upgrade the
|
||||
specified skill.
|
||||
Example:
|
||||
|
||||
The function returns -1 if an invalid skill name is passed in.
|
||||
.. code-block:: javascript
|
||||
|
||||
bladeburner.getSkillUpgradeCost("Overclock"); // returns: 120
|
||||
|
||||
Reference in New Issue
Block a user