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; 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;