mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-08 16:53:54 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
776 B
776 B
Home > bitburner > HacknetNodesFormulas > moneyGainRate
HacknetNodesFormulas.moneyGainRate() method
Calculate money gain rate.
Signature:
moneyGainRate(level: number, ram: number, cores: number, mult?: number): number;
Parameters
Parameter | Type | Description |
---|---|---|
level | number | level of the node. |
ram | number | ram of the node. |
cores | number | cores of the node. |
mult | number | player production mult (default to 1) |
Returns:
number
The calculated money gain rate.