mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
getWeakenTime should take an optional hostname
This commit is contained in:
2
dist/bitburner.d.ts
vendored
2
dist/bitburner.d.ts
vendored
@@ -3848,7 +3848,7 @@ export declare interface NS extends Singularity {
|
||||
* @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.
|
||||
*/
|
||||
getWeakenTime(host: string): number;
|
||||
getWeakenTime(host?: string): number;
|
||||
|
||||
/**
|
||||
* Get the income of a script.
|
||||
|
||||
Reference in New Issue
Block a user