[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getActionRepGain](./bitburner.bladeburner.getactionrepgain.md) ## Bladeburner.getActionRepGain() method Get the reputation gain of an action. **Signature:** ```typescript getActionRepGain(type: BladeburnerActionType, name: BladeburnerActionName, level?: number): number; ``` ## Parameters
Parameter Type Description
type [BladeburnerActionType](./bitburner.bladeburneractiontype.md) Type of action.
name [BladeburnerActionName](./bitburner.bladeburneractionname.md) Name of action. Must be an exact match.
level number _(Optional)_ Optional. Action level at which to calculate the gain. Defaults to the action's current level if not specified.
**Returns:** number Average reputation gain for successfully completing the specified action. ## Remarks RAM cost: 4 GB Returns the average reputation gain for successfully completing the specified action. Note that this value is an "average" and the actual reputation gain may vary slightly from this value.