mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 04:35:46 +01:00
commit
accbe1843f
@ -50,7 +50,7 @@ HacknetNode.prototype.updateMoneyGainRate = function() {
|
|||||||
|
|
||||||
this.moneyGainRatePerSecond = (this.level * gainPerLevel) *
|
this.moneyGainRatePerSecond = (this.level * gainPerLevel) *
|
||||||
Math.pow(1.039, this.ram-1) *
|
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)) {
|
if (isNaN(this.moneyGainRatePerSecond)) {
|
||||||
this.moneyGainRatePerSecond = 0;
|
this.moneyGainRatePerSecond = 0;
|
||||||
dialogBoxCreate("Error in calculating Hacknet Node production. Please report to game developer");
|
dialogBoxCreate("Error in calculating Hacknet Node production. Please report to game developer");
|
||||||
|
Loading…
Reference in New Issue
Block a user