bitburner-src/markdown/bitburner.bladeburner.getactionestimatedsuccesschance.md
omuretsu 06a985bdf8 Revert "Remove markdown from git tracking (#139)"
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
2022-10-21 11:16:00 -04:00

1011 B

Home > bitburner > Bladeburner > getActionEstimatedSuccessChance

Bladeburner.getActionEstimatedSuccessChance() method

Get estimate success chance of an action.

Signature:

getActionEstimatedSuccessChance(type: string, name: string): [number, number];

Parameters

Parameter Type Description
type string Type of action.
name string Name of action. Must be an exact match.

Returns:

number, number

Estimated success chance for the specified action.

Remarks

RAM cost: 4 GB

Returns the estimated success chance for the specified action. This chance is returned as a decimal value, NOT a percentage (e.g. if you have an estimated success chance of 80%, then this function will return 0.80, NOT 80).