mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-29 01:17:34 +01:00
735 B
735 B
Home > bitburner > NS > weakenAnalyze
NS.weakenAnalyze() method
Returns the security decrease that would occur if a weaken with this many threads happened.
Signature:
weakenAnalyze(threads: number, cores?: number): number;
Parameters
Parameter | Type | Description |
---|---|---|
threads | number | Amount of threads that will be used. |
cores | number | Optional. The number of cores of the server that would run weaken. |
Returns:
number
The security decrease.
Remarks
RAM cost: 1 GB