Home > bitburner > NS > weakenAnalyze
Predict the effect of weaken.
Signature:
weakenAnalyze(threads: number, cores?: number): number;
Parameter | Type | Description |
---|---|---|
threads | number | Amount of threads that will be used. |
cores | number | (Optional) Optional. The number of cores of the server that would run weaken. |
Returns:
number
The security decrease.
RAM cost: 1 GB
Returns the security decrease that would occur if a weaken with this many threads happened.