mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 14:28:36 +02:00
API: Get Sleeve Success at BB tasks through existing commands (#1428)
This commit is contained in:
3
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
3
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user