Small bug fix with Messages. Hacking experience gain constant is 2 rather than 1

This commit is contained in:
Daniel Xie
2017-06-20 15:36:48 -05:00
parent 0449460c4f
commit fd7796f5d1
4 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -259,7 +259,7 @@ PlayerObject.prototype.calculateExpGain = function() {
if (s.baseDifficulty == null) {
s.baseDifficulty = s.hackDifficulty;
}
return (s.baseDifficulty * this.hacking_exp_mult * 0.5 + 1);
return (s.baseDifficulty * this.hacking_exp_mult * 0.5 + 2);
}
//Hack/Analyze a server. Return the amount of time the hack will take. This lets the Terminal object know how long to disable itself for