mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +01:00
some api break stuff
This commit is contained in:
parent
25eda90781
commit
b6279ac08c
@ -22,6 +22,7 @@ const detect: [string, string][] = [
|
|||||||
["scp", "needs to be awaited"],
|
["scp", "needs to be awaited"],
|
||||||
["sleep", "Can no longer be called simultenaously."],
|
["sleep", "Can no longer be called simultenaously."],
|
||||||
["hacking_skill", "renamed 'hacking'"],
|
["hacking_skill", "renamed 'hacking'"],
|
||||||
|
["tryWrite", "renamed 'tryWritePort'"],
|
||||||
];
|
];
|
||||||
|
|
||||||
const changes: [RegExp, string][] = [
|
const changes: [RegExp, string][] = [
|
||||||
@ -31,6 +32,7 @@ const changes: [RegExp, string][] = [
|
|||||||
[/ns.bladeburner.getActionTime/g, "((...a)=>ns.bladeburner.getActionTime(...a)/1000)"],
|
[/ns.bladeburner.getActionTime/g, "((...a)=>ns.bladeburner.getActionTime(...a)/1000)"],
|
||||||
[/ns.hackAnalyzePercent/g, "((...a)=>ns.hackAnalyze(...a)*100)"],
|
[/ns.hackAnalyzePercent/g, "((...a)=>ns.hackAnalyze(...a)*100)"],
|
||||||
[/ns.hackChance/g, "ns.hackAnalyzeChance"],
|
[/ns.hackChance/g, "ns.hackAnalyzeChance"],
|
||||||
|
[/ns.tryWrite/g, "ns.tryWritePort"],
|
||||||
[/formulas.basic.calculateSkill/g, "formulas.skills.calculateSkill"],
|
[/formulas.basic.calculateSkill/g, "formulas.skills.calculateSkill"],
|
||||||
[/formulas.basic.calculateExp/g, "formulas.skills.calculateExp"],
|
[/formulas.basic.calculateExp/g, "formulas.skills.calculateExp"],
|
||||||
[/formulas.basic.hackChance/g, "formulas.hacking.hackChance"],
|
[/formulas.basic.hackChance/g, "formulas.hacking.hackChance"],
|
||||||
|
Loading…
Reference in New Issue
Block a user