update doc

This commit is contained in:
Olivier Gagnon
2022-03-17 16:50:46 -04:00
parent ed46ef319c
commit ceb2a48d9f
121 changed files with 722 additions and 234 deletions
-2
View File
@@ -41,7 +41,6 @@ A successful `hack()` on a server will raise that servers security level by 0
```ts
// NS1:
var earnedMoney = hack("foodnstuff");
earnedMoney = earnedMoney + hack("foodnstuff", { threads: 5 }); // Only use 5 threads to hack
```
## Example 2
@@ -50,6 +49,5 @@ earnedMoney = earnedMoney + hack("foodnstuff", { threads: 5 }); // Only use 5 th
```ts
// NS2:
let earnedMoney = await ns.hack("foodnstuff");
earnedMoney += await ns.hack("foodnstuff", { threads: 5 }); // Only use 5 threads to hack
```