mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 20:25:45 +01:00
dc9b1050bf
Includes my change and a bunch of prior changes
710 B
710 B
Home > bitburner > ReputationFormulas > repFromDonation
ReputationFormulas.repFromDonation() method
Calculate how much rep would be gained.
Signature:
repFromDonation(amount: number, player: Person): number;
Parameters
Parameter | Type | Description |
---|---|---|
amount | number | Amount of money donated |
player | Person | Player info, typically from getPlayer |
Returns:
number