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

26 lines
705 B
Markdown
Raw Normal View History

<!-- 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.
<b>Signature:</b>
```typescript
repFromDonation(amount: number, player: Player): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| amount | number | Amount of money donated |
| player | [Player](./bitburner.player.md) | Player info from [getPlayer](./bitburner.ns.getplayer.md) |
<b>Returns:</b>
number