From 5786d7adcb07dbb687116fc4036e17003c335e0f Mon Sep 17 00:00:00 2001 From: JMack6490 Date: Mon, 4 Nov 2024 01:54:43 -0500 Subject: [PATCH] DOCUMENTATION: Update NetscriptDefinitions.d.ts (#1743) Added line 5934: using hackAnalyzeThreads on a server you cannot hack returns -1 --- src/ScriptEditor/NetscriptDefinitions.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index b0087245f..3fa62e4d1 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -5930,7 +5930,8 @@ export interface NS { * * 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. - * 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. * *