[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getFactionFavorGain](./bitburner.singularity.getfactionfavorgain.md)
## Singularity.getFactionFavorGain() method
SF4.2 - Get faction favor gain.
Signature:
```typescript
getFactionFavorGain(faction: string): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| faction | string | Name of faction. |
Returns:
number
Amount of favor you will gain for the specified faction when you reset by installing Augmentations.
## Remarks
RAM cost: 0.75 GB
This function returns the amount of favor you will gain for the specified faction when you reset by installing Augmentations.