mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 10:03:48 +01:00
25 lines
624 B
Markdown
25 lines
624 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [WorkFormulas](./bitburner.workformulas.md) > [factionGains](./bitburner.workformulas.factiongains.md)
|
|
|
|
## WorkFormulas.factionGains() method
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
factionGains(player: Player, workType: string, favor: number): WorkStats;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| player | [Player](./bitburner.player.md) | |
|
|
| workType | string | |
|
|
| favor | number | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
[WorkStats](./bitburner.workstats.md)
|
|
|