DOCUMENTATION: Update NetscriptDefinitions.d.ts (#1743)

Added line 5934: using hackAnalyzeThreads on a server you cannot hack returns -1
This commit is contained in:
JMack6490 2024-11-04 01:54:43 -05:00 committed by GitHub
parent b388865317
commit 5786d7adcb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -5930,7 +5930,8 @@ export interface NS {
* *
* This function returns the decimal number of script threads you need when running the hack command * This function returns the decimal number of script threads you need when running the hack command
* to steal the specified amount of money from the target server. * to steal the specified amount of money from the target server.
* If hackAmount is less than zero or greater than the amount of money available on the server, * If hackAmount is less than zero, greater than the amount of money available on the server,
* or your hacking level is below the required level for the target server,
* then this function returns -1. * then this function returns -1.
* *
* *