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
@@ -243,7 +243,7 @@ PlayerObject.prototype.calculateHackingTime = function() {
PlayerObject.prototype.calculatePercentMoneyHacked = function() {
var difficultyMult = (100 - this.getCurrentServer().hackDifficulty) / 100;
var skillMult = (this.hacking_skill - (this.getCurrentServer().requiredHackingSkill - 1)) / this.hacking_skill;
var percentMoneyHacked = difficultyMult * skillMult * this.hacking_money_mult / 700;
var percentMoneyHacked = difficultyMult * skillMult * this.hacking_money_mult / 425;
console.log("Percent money hacked calculated to be: " + percentMoneyHacked);
if (percentMoneyHacked < 0) {return 0;}
if (percentMoneyHacked > 1) {return 1;}