mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
BLADEBURNER: Updated descriptions (#906)
This commit is contained in:
@@ -29,5 +29,5 @@ Estimated success chance for the specified action.
|
|||||||
|
|
||||||
RAM cost: 4 GB
|
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.
|
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.
|
* Attempts to start the specified Bladeburner action.
|
||||||
* Returns true if the action was started successfully, and false otherwise.
|
* 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 type - Type of action.
|
||||||
* @param name - Name of action. Must be an exact match
|
* @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.
|
* Returns the estimated success chance for the specified action.
|
||||||
* This chance is returned as a decimal value, NOT a percentage
|
* 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).
|
* (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 type - Type of action.
|
||||||
* @param name - Name of action. Must be an exact match.
|
* @param name - Name of action. Must be an exact match.
|
||||||
|
|||||||
Reference in New Issue
Block a user