Files
bitburner-src/markdown/bitburner.bladeburner.getactionrankgain.md

1.3 KiB

Home > bitburner > Bladeburner > getActionRankGain

Bladeburner.getActionRankGain() method

Get the rank gain of an action.

Signature:

getActionRankGain(type: BladeburnerActionType, name: BladeburnerActionName, level?: number): number;

Parameters

Parameter

Type

Description

type

BladeburnerActionType

Type of action.

name

BladeburnerActionName

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 rank gain for successfully completing the specified action.

Remarks

RAM cost: 4 GB

Returns the average rank gain for successfully completing the specified action. Note that this value is an "average" and the actual rank gain may vary slightly from this value.