mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-30 04:47:03 +02:00
work on doc
This commit is contained in:
@@ -9,14 +9,14 @@ Returns the amount of time in seconds it takes to execute the hack Netscript fun
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
getHackTime(host: Host, hackLvl?: number, intLvl?: number): number;
|
||||
getHackTime(host: string, hackLvl?: number, intLvl?: number): number;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| host | [Host](./bitburner.host.md) | Host or IP of target server. |
|
||||
| host | string | Host or IP of target server. |
|
||||
| hackLvl | number | Optional hacking level for the calculation. Defaults to player’s current hacking level. |
|
||||
| intLvl | number | Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5). |
|
||||
|
||||
@@ -28,5 +28,5 @@ Returns the amount of time in seconds it takes to execute the hack Netscript fun
|
||||
|
||||
## Remarks
|
||||
|
||||
0.05 GB
|
||||
RAM cost: 0.05 GB
|
||||
|
||||
|
||||
Reference in New Issue
Block a user