Got NetScript working asyhcronously with Promises! Only for loops have been tested though. Still need to test while loops and ifs. While loops should work if the for loops do, idk about if statements though. If statements aren't a high priority right now though

This commit is contained in:
Daniel Xie
2016-11-29 16:56:05 -06:00
parent 1efee3b7d6
commit 77f0c31777
4 changed files with 241 additions and 332 deletions
+4 -1
View File
@@ -1,5 +1,8 @@
CONSTANTS = {
//Max level for any skill. Determined by max numerical value in javascript and the skill level
//formula in Player.js
MaxSkillLevel: 1796,
MaxSkillLevel: 1796,
//Time (ms) it takes to run one operation in Netscript.
CodeInstructionRunTime: 1500,
}