Skip to content

Latest commit

 

History

History
70 lines (33 loc) · 855 Bytes

File metadata and controls

70 lines (33 loc) · 855 Bytes

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