mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
work to make documentation unified.
This commit is contained in:
@@ -4,10 +4,12 @@ getActionMaxLevel() Netscript Function
|
||||
.. js:function:: getActionMaxLevel(type, name)
|
||||
|
||||
:RAM cost: 4 GB
|
||||
|
||||
:param string type: Type of action. See :ref:`bladeburner_action_types`
|
||||
:param string name: Name of action. Must be an exact match
|
||||
:returns: Action max level, -1 for invalid actions.
|
||||
|
||||
Returns the maximum level for this action.
|
||||
Example:
|
||||
|
||||
Returns -1 if an invalid action is specified.
|
||||
.. code-block:: javascript
|
||||
|
||||
bladeburner.getActionMaxLevel("Contracts", "Tracking"); // returns: 15
|
||||
|
||||
Reference in New Issue
Block a user