bitburner-src/markdown/bitburner.ns.weakenanalyze.md
omuretsu 06a985bdf8 Revert "Remove markdown from git tracking (#139)"
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
2022-10-21 11:16:00 -04:00

766 B

Home > bitburner > NS > weakenAnalyze

NS.weakenAnalyze() method

Predict the effect of weaken.

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

Returns the security decrease that would occur if a weaken with this many threads happened.