Fix growthAnalyzeSecurity doc

Also a format fix from a previous sloppy commit
This commit is contained in:
omuretsu
2023-02-28 09:57:02 -05:00
parent f16246f939
commit 75481aa195
4 changed files with 6 additions and 6 deletions

View File

@@ -4828,14 +4828,14 @@ export interface NS {
growthAnalyze(host: string, multiplier: number, cores?: number): number;
/**
* Calculate the security increase for a number of threads.
* Calculate the security increase for a number of grow threads.
* @remarks
* RAM cost: 1 GB
*
* Returns the security increase that would occur if a grow with this many threads happened.
*
* @param threads - Amount of threads that will be used.
* @param hostname - Optional. Hostname of the target server. The number of threads is limited to the number needed to hack the server's maximum amount of money.
* @param hostname - Optional. Hostname of the target server. If provided, security increase is limited by the number of threads needed to reach maximum money.
* @param cores - Optional. The number of cores of the server that would run grow.
* @returns The security increase.
*/