mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-25 07:32:27 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
27 lines
683 B
Markdown
27 lines
683 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [ReputationFormulas](./bitburner.reputationformulas.md) > [calculateFavorToRep](./bitburner.reputationformulas.calculatefavortorep.md)
|
|
|
|
## ReputationFormulas.calculateFavorToRep() method
|
|
|
|
Calculate the total required amount of faction reputation to reach a target favor.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
calculateFavorToRep(favor: number): number;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| favor | number | target faction favor. |
|
|
|
|
<b>Returns:</b>
|
|
|
|
number
|
|
|
|
The calculated faction reputation required.
|
|
|