[Home](./index.md) > [bitburner](./bitburner.md) > [WorkFormulas](./bitburner.workformulas.md) > [factionGains](./bitburner.workformulas.factiongains.md)
## WorkFormulas.factionGains() method
Signature:
```typescript
factionGains(player: Player, workType: string, favor: number): WorkStats;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| player | [Player](./bitburner.player.md) | |
| workType | string | |
| favor | number | |
Returns:
[WorkStats](./bitburner.workstats.md)