mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-29 17:37:34 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
27 lines
717 B
Markdown
27 lines
717 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [ReputationFormulas](./bitburner.reputationformulas.md) > [calculateRepToFavor](./bitburner.reputationformulas.calculatereptofavor.md)
|
|
|
|
## ReputationFormulas.calculateRepToFavor() method
|
|
|
|
Calculate the resulting faction favor of a total amount of reputation. (Faction favor is gained whenever you install an Augmentation.)
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
calculateRepToFavor(rep: number): number;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| rep | number | amount of reputation. |
|
|
|
|
<b>Returns:</b>
|
|
|
|
number
|
|
|
|
The calculated faction favor.
|
|
|