Fixed mistake in formula for Hacket Node production

This commit is contained in:
Daniel Xie 2017-05-30 16:37:55 -05:00
parent 05036953ef
commit 1dcb7eb151

@ -50,7 +50,7 @@ HacknetNode.prototype.updateMoneyGainRate = function() {
this.moneyGainRatePerSecond = (this.level * gainPerLevel) *
Math.pow(1.039, this.ram-1) *
((this.numCores + 2.9) / 4) * Player.hacknet_node_money_mult;
((this.numCores + 3) / 4.1) * Player.hacknet_node_money_mult;
if (isNaN(this.moneyGainRatePerSecond)) {
this.moneyGainRatePerSecond = 0;
dialogBoxCreate("Error in calculating Hacknet Node production. Please report to game developer");