DOCUMENTATION: ns.share and getSharePower definition updates (#734)

This commit is contained in:
missymae#2783 2023-08-16 15:08:55 -06:00 committed by GitHub
parent cef452d35e
commit 7500ef0da2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

@ -4,7 +4,7 @@
## NS.getSharePower() method
Calculate your share power. Based on all the active share calls.
Share Power has a multiplicative effect on rep/second while doing work for a faction. Share Power increases incrementally for every thread of share running on your server network, but at a sharply decreasing rate.
**Signature:**

@ -26,7 +26,6 @@ export async function main(ns) {
await ns.hack('n00dles');
}
```
[ns2 in-game docs](https://bitburner-official.readthedocs.io/en/latest/netscript/netscriptjs.html) <hr> For (deprecated) .script usage, see: [ns1 in-game docs](https://bitburner-official.readthedocs.io/en/latest/netscript/netscript1.html) <hr>
## Properties
@ -108,7 +107,7 @@ export async function main(ns) {
| [getServerRequiredHackingLevel(host)](./bitburner.ns.getserverrequiredhackinglevel.md) | Returns the required hacking level of the target server. |
| [getServerSecurityLevel(host)](./bitburner.ns.getserversecuritylevel.md) | Get server security level. |
| [getServerUsedRam(host)](./bitburner.ns.getserverusedram.md) | Get the used RAM on a server. |
| [getSharePower()](./bitburner.ns.getsharepower.md) | Calculate your share power. Based on all the active share calls. |
| [getSharePower()](./bitburner.ns.getsharepower.md) | Share Power has a multiplicative effect on rep/second while doing work for a faction. Share Power increases incrementally for every thread of share running on your server network, but at a sharply decreasing rate. |
| [getTimeSinceLastAug()](./bitburner.ns.gettimesincelastaug.md) | Returns the amount of time in milliseconds that have passed since you last installed Augmentations. |
| [getTotalScriptExpGain()](./bitburner.ns.gettotalscriptexpgain.md) | Get the exp gain of all scripts. |
| [getTotalScriptIncome()](./bitburner.ns.gettotalscriptincome.md) | Get the income of all scripts. |

@ -19,5 +19,5 @@ Promise&lt;void&gt;
RAM cost: 2.4 GB
Increases your rep gain of all faction work types while share is called. Scales with thread count.
Increases rep/second for all faction work while share is running. Each cycle of ns.share() is 10 seconds. Scales with thread count, but at a sharply decreasing rate.

@ -6678,13 +6678,14 @@ export interface NS {
* @remarks
* RAM cost: 2.4 GB
*
* Increases your rep gain of all faction work types while share is called.
* Scales with thread count.
* Increases rep/second for all faction work while share is running. Each cycle of ns.share() is 10 seconds.
* Scales with thread count, but at a sharply decreasing rate.
*/
share(): Promise<void>;
/**
* Calculate your share power. Based on all the active share calls.
* Share Power has a multiplicative effect on rep/second while doing work for a faction.
* Share Power increases incrementally for every thread of share running on your server network, but at a sharply decreasing rate.
* @remarks
* RAM cost: 0.2 GB
*/