2022-10-21 17:16:00 +02:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home ](./index.md ) > [bitburner ](./bitburner.md ) > [Bladeburner ](./bitburner.bladeburner.md ) > [getActionEstimatedSuccessChance ](./bitburner.bladeburner.getactionestimatedsuccesschance.md )
## Bladeburner.getActionEstimatedSuccessChance() method
Get estimate success chance of an action.
2023-02-11 19:18:50 +01:00
**Signature:**
2022-10-21 17:16:00 +02:00
```typescript
2024-07-03 00:07:56 +02:00
getActionEstimatedSuccessChance(type: string, name: string, sleeveNumber?: number): [number, number];
2022-10-21 17:16:00 +02:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| type | string | Type of action. |
| name | string | Name of action. Must be an exact match. |
2024-07-03 00:07:56 +02:00
| sleeveNumber | number | _(Optional)_ Optional. Index of the sleeve to retrieve information. |
2022-10-21 17:16:00 +02:00
2023-02-11 19:18:50 +01:00
**Returns:**
2022-10-21 17:16:00 +02:00
\[number, number\]
Estimated success chance for the specified action.
## Remarks
RAM cost: 4 GB
2023-11-04 02:48:46 +01:00
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). Returns 2 values, value\[0\] - MIN Chance, value\[1\] - MAX Chance
2022-10-21 17:16:00 +02:00