bitburner-src/doc/source/netscript/basicfunctions/getSharePower.rst

16 lines
375 B
ReStructuredText
Raw Normal View History

2023-01-30 19:51:00 +01:00
getSharePower() Netscript Function
==============================
.. js:function:: getSharePower()
:RAM cost: 0.2 GB
:returns: Reputation gain rate multiplier from sharing. i.e. 1.5 means +50% rep gain rate.
Calculate your share power, based on all the active share calls.
2023-01-30 19:51:00 +01:00
Examples:
.. code-block:: javascript
ns.tprint(ns.getSharePower())