mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
1.3 KiB
1.3 KiB
Home > bitburner > Bladeburner > getActionRankLoss
Bladeburner.getActionRankLoss() method
Get the rank loss of an action.
Signature:
getActionRankLoss(type: BladeburnerActionType, name: BladeburnerActionName, level?: number): number;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
type |
Type of action. | |
|
name |
Name of action. Must be an exact match. | |
|
level |
number |
(Optional) Optional. Action level at which to calculate the loss. Defaults to the action's current level if not specified. |
Returns:
number
Average rank loss for failing to complete the specified action.
Remarks
RAM cost: 4 GB
Returns the average rank loss for failing to complete the specified action. Note that this value is an "average" and the actual rank loss may vary slightly from this value.