mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
Fixed mistake in formula for Hacket Node production
This commit is contained in:
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");
|
||||
|
Loading…
Reference in New Issue
Block a user