bitburner-src/markdown/bitburner.reputationformulas.repfromdonation.md

699 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 from getPlayer

Returns:

number