diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index 7976f9c8c..0177aee7e 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -6209,13 +6209,13 @@ 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. - * @returns Returns the amount of time in milliseconds it takes to execute the hack Netscript function. Returns Infinity if called on a Hacknet Server. + * @returns Returns the amount of time in milliseconds it takes to execute the hack Netscript function. */ getHackTime(host: string): number; @@ -6225,11 +6225,10 @@ 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. - * @returns Returns the amount of time in milliseconds it takes to execute the grow Netscript function. Returns Infinity if called on a Hacknet Server. + * @returns Returns the amount of time in milliseconds it takes to execute the grow Netscript function. */ getGrowTime(host: string): number; @@ -6239,11 +6238,10 @@ 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. - * @returns Returns the amount of time in milliseconds it takes to execute the weaken Netscript function. Returns Infinity if called on a Hacknet Server. + * @returns Returns the amount of time in milliseconds it takes to execute the weaken Netscript function. */ getWeakenTime(host: string): number;