work on making the netscript api tighter

This commit is contained in:
Olivier Gagnon
2021-11-03 20:19:52 -04:00
parent c5fb5155f3
commit 14150d3e33
270 changed files with 11011 additions and 1273 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ export class Action implements IAction {
return 1;
}
getEstSuccessChance(inst: IBladeburner): number[] {
getEstSuccessChance(inst: IBladeburner): [number, number] {
function clamp(x: number): number {
return Math.max(0, Math.min(x, 1));
}