multiply_stat_temporarily
Temporarily multiplies one of the player's stats by the given multiplier for a fixed duration.
Categories: player
Required arguments
| Key(s) | Description | Type |
|---|---|---|
stat | The stat to multiply. | STRING |
multiplier | The multiplier to apply to the stat. | EXPRESSION |
duration | The duration in ticks that the boost lasts for. | EXPRESSION |
Trigger parameters required
PLAYER
Example
effects:
- id: multiply_stat_temporarily
args:
stat: <value>
multiplier: 1 + %level% * 0.1
duration: 20 * %level%
Behaviour
| Setting | Value |
|---|---|
| Run order | START |
| Supports delay | true |
| Reloads on plugin reload | true |