bitburner-src/doc/source/netscript/bladeburnerapi/getStamina.rst
2021-03-12 02:51:56 -05:00

15 lines
318 B
ReStructuredText

getStamina() Netscript Function
===============================
.. js:function:: getStamina()
:RAM cost: 4 GB
:returns: Array with two elements [Current stamina, Max stamina]
Example:
.. code-block:: javascript
res = bladeburner.getStamina();
percentage = res[0] / res[1];