mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-27 00:17:32 +01:00
33 lines
733 B
Markdown
33 lines
733 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.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```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. |
|
|
|
|
<b>Returns:</b>
|
|
|
|
void
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 4 GB
|
|
|
|
Set the level for the specified action.
|
|
|