Added InputStream, Tokenizer, and Parser(unfinished) class. Changed Newerth to Aevum

This commit is contained in:
Daniel Xie
2016-11-14 00:42:31 -06:00
parent f311b0b84f
commit 40b0b585e1
7 changed files with 220 additions and 10 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ var Player = {
},
//Calculates skill level based on experience. The same formula will be used for every skill
// At the maximum possible exp (MAX_INT = 9007199254740991), the hacking skill will by 1796
// At the maximum possible exp (MAX_INT = 9007199254740991), the hacking skill will be 1796
// Gets to level 1000 hacking skill at ~1,100,000,000 exp
calculateSkill: function(exp) {
return Math.max(Math.floor(50 * log(9007199254740991+ 2.270) - 40), 1);