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
@@ -1048,7 +1048,7 @@ function scriptCalculateExpGain(server) {
if (server.baseDifficulty == null) {
server.baseDifficulty = server.hackDifficulty;
}
return (server.baseDifficulty * Player.hacking_exp_mult * 0.5 + 1);
return (server.baseDifficulty * Player.hacking_exp_mult * 0.5 + 2);
}
//The same as Player's calculatePercentMoneyHacked() function but takes in the server as an argument