From f8cba0ddc804051da55fd1093898d9ca15b756ae Mon Sep 17 00:00:00 2001 From: Woody Lam Date: Tue, 4 Jan 2022 21:50:30 +0000 Subject: [PATCH 1/2] Fix #2330 typo --- dist/bitburner.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/bitburner.d.ts b/dist/bitburner.d.ts index dcda6d7b1..b5ef5e228 100644 --- a/dist/bitburner.d.ts +++ b/dist/bitburner.d.ts @@ -3538,13 +3538,13 @@ export declare interface NS extends Singularity { * @remarks * RAM cost: 0.05 GB * - * Returns the amount of time in milliseconds it takes to execute the weaken() Netscript function on the target server. + * 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. * * @param host - Host of target server. * @param hackLvl - Optional hacking level for the calculation. Defaults to player’s current hacking level. * @param intLvl - Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5). - * @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 weaken Netscript function. Returns Infinity if called on a Hacknet Server. */ getWeakenTime(host: string): number; From d7cd5b0d96b658bdaefcf7510c9ec27d17f20a0f Mon Sep 17 00:00:00 2001 From: Woody Lam Date: Tue, 4 Jan 2022 22:40:41 +0000 Subject: [PATCH 2/2] Fix #2230 typo (again) --- src/ScriptEditor/NetscriptDefinitions.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index f4fcfda68..706861804 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -5508,12 +5508,12 @@ export interface NS extends Singularity { * @remarks * RAM cost: 0.05 GB * - * Returns the amount of time in milliseconds it takes to execute the weaken() Netscript function on the target server. + * 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 grow 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. Returns Infinity if called on a Hacknet Server. */ getWeakenTime(host: string): number;