mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-24 00:23:49 +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