mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-04 21:43:48 +01:00
16 lines
375 B
ReStructuredText
16 lines
375 B
ReStructuredText
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.
|
|
|
|
Examples:
|
|
|
|
.. code-block:: javascript
|
|
|
|
ns.tprint(ns.getSharePower()) |