From 144a56e6e016d8999aa9de68285aeea6504a779c Mon Sep 17 00:00:00 2001 From: Staszek Welsh Date: Fri, 3 Jun 2022 02:18:06 +0100 Subject: [PATCH] Remove incorrect doc comment about second arguments for getHackTime and friends --- src/ScriptEditor/NetscriptDefinitions.d.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index 01432f441..8b079731a 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -6204,9 +6204,9 @@ export interface NS { * Get the execution time of a hack() call. * @remarks * RAM cost: 0.05 GB - *When `hack` completes an amount of money is stolen depending on the player's skills. + * + * When `hack` completes an amount of money is stolen depending on the player's skills. * Returns the amount of time in milliseconds it takes to execute the hack Netscript function on the target server. - * The function takes in an optional hackLvl parameter that can be specified to see what the hack time would be at different hacking levels. * The required time is increased by the security level of the target server and decreased by the player's hacking level. * * @param host - Host of target server. @@ -6220,7 +6220,6 @@ export interface NS { * RAM cost: 0.05 GB * * Returns the amount of time in milliseconds it takes to execute the grow Netscript function on the target server. - * The function takes in an optional hackLvl parameter that can be specified to see what the grow time would be at different hacking levels. * The required time is increased by the security level of the target server and decreased by the player's hacking level. * * @param host - Host of target server. @@ -6234,7 +6233,6 @@ export interface NS { * RAM cost: 0.05 GB * * Returns the amount of time in milliseconds it takes to execute the weaken Netscript function on the target server. - * The function takes in an optional hackLvl parameter that can be specified to see what the weaken time would be at different hacking levels. * The required time is increased by the security level of the target server and decreased by the player's hacking level. * * @param host - Host of target server.