mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-25 15:42:28 +01:00
16 lines
468 B
ReStructuredText
16 lines
468 B
ReStructuredText
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.
|
|
|
|
Example:
|
|
|
|
.. code-block:: javascript
|
|
|
|
bladeburner.getActionMaxLevel("Contracts", "Tracking"); // returns: 15
|