mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 05:33:54 +01:00
BLADEBURNER: Updated descriptions (#906)
This commit is contained in:
parent
4e8c43fdbe
commit
b06b8bbdde
@ -29,5 +29,5 @@ Estimated success chance for the specified action.
|
||||
|
||||
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).
|
||||
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
|
||||
|
||||
|
@ -31,3 +31,12 @@ RAM cost: 4 GB
|
||||
|
||||
Attempts to start the specified Bladeburner action. Returns true if the action was started successfully, and false otherwise.
|
||||
|
||||
## Example
|
||||
|
||||
|
||||
```js
|
||||
ns.bladeburner.startAction("Contracts", "Tracking")
|
||||
|
||||
// This will start the Bladeburner Contracts action of Tracking
|
||||
```
|
||||
|
||||
|
7
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
7
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -2910,6 +2910,12 @@ export interface Bladeburner {
|
||||
*
|
||||
* Attempts to start the specified Bladeburner action.
|
||||
* Returns true if the action was started successfully, and false otherwise.
|
||||
*@example
|
||||
* ```js
|
||||
* ns.bladeburner.startAction("Contracts", "Tracking")
|
||||
*
|
||||
* // This will start the Bladeburner Contracts action of Tracking
|
||||
* ```
|
||||
*
|
||||
* @param type - Type of action.
|
||||
* @param name - Name of action. Must be an exact match
|
||||
@ -2971,6 +2977,7 @@ export interface Bladeburner {
|
||||
* 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
|
||||
*
|
||||
* @param type - Type of action.
|
||||
* @param name - Name of action. Must be an exact match.
|
||||
|
Loading…
Reference in New Issue
Block a user