Finished initializing new servers (johnson ortho and newerth police). Finished init functions for Company class, and began declaring all possible companies.

This commit is contained in:
Daniel Xie
2016-11-01 16:19:57 -05:00
parent 6e0644555c
commit 8530e51628
3 changed files with 87 additions and 8 deletions
+2 -2
View File
@@ -74,10 +74,10 @@ var Player = {
}
},
//Calculates hacking skill based on experience
//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
// Gets to level 1000 hacking skill at ~1,100,000,000 exp
calculateHackingSkill: function(exp) {
calculateSkill: function(exp) {
return Math.max(Math.floor(50 * log(9007199254740991+ 2.270) - 40), 1);
},