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)DescriptionType
statThe stat to multiply.STRING
multiplierThe multiplier to apply to the stat.EXPRESSION
durationThe 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

SettingValue
Run orderSTART
Supports delaytrue
Reloads on plugin reloadtrue