Significantly buffed money gains from hacking. Slightly nerfed Hacknet Node production

This commit is contained in:
Daniel Xie
2017-05-30 16:04:33 -05:00
parent 18f447de0e
commit 92a1f41164
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1266,7 +1266,7 @@ function scriptCalculateExpGain(server) {
function scriptCalculatePercentMoneyHacked(server) {
var difficultyMult = (100 - server.hackDifficulty) / 100;
var skillMult = (Player.hacking_skill - (server.requiredHackingSkill - 1)) / Player.hacking_skill;
var percentMoneyHacked = difficultyMult * skillMult * Player.hacking_money_mult / 700;
var percentMoneyHacked = difficultyMult * skillMult * Player.hacking_money_mult / 425;
if (percentMoneyHacked < 0) {return 0;}
if (percentMoneyHacked > 1) {return 1;}
return percentMoneyHacked;