Merge branch 'getweakentime-typo' of github.com-woody-lam-cwl:woody-lam-cwl/bitburner into getweakentime-typo

This commit is contained in:
Woody Lam 2022-01-04 22:40:46 +00:00
commit c5fb744a39

4
dist/bitburner.d.ts vendored

@ -3538,13 +3538,13 @@ export declare interface NS extends Singularity {
* @remarks * @remarks
* RAM cost: 0.05 GB * 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 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 host - Host of target server.
* @param hackLvl - Optional hacking level for the calculation. Defaults to players current hacking level. * @param hackLvl - Optional hacking level for the calculation. Defaults to players current hacking level.
* @param intLvl - Optional intelligence level for the calculation. Defaults to players current intelligence level. (Intelligence is unlocked after obtaining Source-File 5). * @param intLvl - Optional intelligence level for the calculation. Defaults to players 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; getWeakenTime(host: string): number;