Doc changes

This commit is contained in:
Mughur
2023-01-30 20:51:00 +02:00
parent 867236e153
commit 6369ab434b
17 changed files with 244 additions and 3 deletions

View File

@@ -0,0 +1,15 @@
getSharePower() Netscript Function
==============================
.. js:function:: getSharePower()
:RAM cost: 0.2 GB
Calculate your share power. Based on all the active share calls.
Returns the reputation gain rate multiplier, i.e. 1.5 means +50% rep gain rate.
Examples:
.. code-block:: javascript
ns.tprint(ns.getSharePower())