Potion Effect - Amplifier (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.7, 2.14 (support for potion effect objects, changing)

Syntax

[the] ([potion] amplifier|potion tier|potion level)[s] [of %skriptpotioneffects%]

Description

An expression to obtain the amplifier of a potion effect.

Examples

set the amplifier of {_potion} to 10
add 10 to the amplifier of the player's speed effect

View source