work on doc

This commit is contained in:
Olivier Gagnon
2021-10-30 15:46:34 -04:00
parent 920b7325b4
commit feb0430aff
366 changed files with 3235 additions and 4238 deletions
+3 -3
View File
@@ -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 players current hacking level. |
| intLvl | number | Optional intelligence level for the calculation. Defaults to players 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