add_stat
Adds a flat amount to one of the player's stats while the holder is active.
Categories: player
Required arguments
| Key(s) | Description | Type |
|---|---|---|
stat | The stat to modify. | STRING |
amount | The amount to add to the stat. Use a negative value to remove. | EXPRESSION |
Example
effects:
- id: add_stat
args:
stat: <value>
amount: 5 + %level%
Behaviour
| Setting | Value |
|---|---|
| Run order | START |
| Supports delay | true |
| Reloads on plugin reload | true |