bitburner-src/markdown/bitburner.reputationformulas.repfromdonation.md
David Walker dc9b1050bf Result of npm run doc
Includes my change and a bunch of prior changes
2023-02-17 00:14:20 -08:00

26 lines
710 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [ReputationFormulas](./bitburner.reputationformulas.md) &gt; [repFromDonation](./bitburner.reputationformulas.repfromdonation.md)
## ReputationFormulas.repFromDonation() method
Calculate how much rep would be gained.
**Signature:**
```typescript
repFromDonation(amount: number, player: Person): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| amount | number | Amount of money donated |
| player | [Person](./bitburner.person.md) | Player info, typically from [getPlayer](./bitburner.ns.getplayer.md) |
**Returns:**
number