mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 06:02:26 +01:00
14 lines
296 B
ReStructuredText
14 lines
296 B
ReStructuredText
|
share() Netscript Function
|
||
|
==============================
|
||
|
|
||
|
.. js:function:: share()
|
||
|
|
||
|
:RAM cost: 2.4 GB
|
||
|
|
||
|
Increases your rep gain of all faction work types while share is called. Scales with thread count.
|
||
|
|
||
|
Examples:
|
||
|
|
||
|
.. code-block:: javascript
|
||
|
|
||
|
while(true) await ns.share();
|