mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 19:43:49 +01:00
33 lines
727 B
Markdown
33 lines
727 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [setActionLevel](./bitburner.bladeburner.setactionlevel.md)
|
|
|
|
## Bladeburner.setActionLevel() method
|
|
|
|
Set the level of an action.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
setActionLevel(type: string, name: string, level: number): void;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| type | string | Type of action. |
|
|
| name | string | Name of action. Must be an exact match. |
|
|
| level | number | Level to set this action to. |
|
|
|
|
**Returns:**
|
|
|
|
void
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 4 GB
|
|
|
|
Set the level for the specified action.
|
|
|