mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-09 17:23:53 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
705 B
705 B
Home > bitburner > ReputationFormulas > repFromDonation
ReputationFormulas.repFromDonation() method
Calculate how much rep would be gained.
Signature:
repFromDonation(amount: number, player: Player): number;
Parameters
Parameter | Type | Description |
---|---|---|
amount | number | Amount of money donated |
player | Player | Player info from getPlayer |
Returns:
number