API: Get Sleeve Success at BB tasks through existing commands (#1428)

This commit is contained in:
Sphyxis
2024-06-28 20:49:52 -06:00
committed by GitHub
parent 9c9a69f2e2
commit 61ec7dde80
5 changed files with 35 additions and 23 deletions

View File

@@ -3144,9 +3144,10 @@ export interface Bladeburner {
*
* @param type - Type of action.
* @param name - Name of action. Must be an exact match.
* @param sleeve - Optional. Sleeve number to check for success.
* @returns Estimated success chance for the specified action.
*/
getActionEstimatedSuccessChance(type: string, name: string): [number, number];
getActionEstimatedSuccessChance(type: string, name: string, sleeve?: number): [number, number];
/**
* Get the reputation gain of an action.