Merge pull request #1707 from danielyxie/dev

Added 404
This commit is contained in:
hydroflame
2021-11-12 16:16:08 -05:00
committed by GitHub
2 changed files with 8 additions and 0 deletions

6
doc/source/404.rst Normal file
View File

@@ -0,0 +1,6 @@
Hi there, hello
===============
It looks like you found a page that doesn't exist!
If you're looking for documentation of the netscript API. It moved to

View File

@@ -22,6 +22,7 @@ const detect: [string, string][] = [
["scp", "needs to be awaited"],
["sleep", "Can no longer be called simultenaously."],
["hacking_skill", "renamed 'hacking'"],
["tryWrite", "renamed 'tryWritePort'"],
];
const changes: [RegExp, string][] = [
@@ -31,6 +32,7 @@ const changes: [RegExp, string][] = [
[/ns.bladeburner.getActionTime/g, "((...a)=>ns.bladeburner.getActionTime(...a)/1000)"],
[/ns.hackAnalyzePercent/g, "((...a)=>ns.hackAnalyze(...a)*100)"],
[/ns.hackChance/g, "ns.hackAnalyzeChance"],
[/ns.tryWrite/g, "ns.tryWritePort"],
[/formulas.basic.calculateSkill/g, "formulas.skills.calculateSkill"],
[/formulas.basic.calculateExp/g, "formulas.skills.calculateExp"],
[/formulas.basic.hackChance/g, "formulas.hacking.hackChance"],