Addressing feedback.

`flags` example should have the output, instead of the code, in a comment block. `formulas.basic.calculateExp` and `formulas.basic.hackChance` should have explicit `var` declarations.
This commit is contained in:
MageKing17
2021-07-04 08:10:55 -07:00
committed by danielyxie
parent 43b09a2459
commit 04c0c87242
3 changed files with 8 additions and 7 deletions

View File

@@ -20,6 +20,6 @@ hackChance() Netscript Function
.. code-block:: javascript
server = getServer();
var server = getServer();
server.hackDifficulty = server.minDifficulty;
tprint(formulas.basic.hackChance(server, getPlayer()));