mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 01:33:54 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
957 B
957 B
Home > bitburner > GangFormulas > moneyGain
GangFormulas.moneyGain() method
Calculate money gain per tick.
Signature:
moneyGain(gang: GangGenInfo, member: GangMemberInfo, task: GangTaskStats): number;
Parameters
Parameter | Type | Description |
---|---|---|
gang | GangGenInfo | Gang info from getGangInformation |
member | GangMemberInfo | Member info from getMemberInformation |
task | GangTaskStats | Task info from getTaskStats |
Returns:
number
The calculated money gain.