mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +01:00
Merge pull request #2334 from woody-lam-cwl/getweakentime-typo
Fix #2330 typo
This commit is contained in:
commit
1f46d69430
4
dist/bitburner.d.ts
vendored
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 player’s current hacking level.
|
* @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).
|
* @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;
|
getWeakenTime(host: string): number;
|
||||||
|
|
||||||
|
4
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
4
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -5508,12 +5508,12 @@ export 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.
|
||||||
* The required time is increased by the security level of the target server and decreased by the player's hacking level.
|
* 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.
|
* @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;
|
getWeakenTime(host: string): number;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user