Potion Effect Type Category (Expression) — Skript
Addon: Skript · Category: Expression · Since: 2.14
Syntax
[the] potion [effect [type]] category of %potioneffecttypes%Description
An expression to obtain the category of a potion effect type. That is, whether the potion effect type is beneficial, harmful, or neutral.
Examples
on entity potion effect modification:
if the potion effect type category is harmful:
message "You have been afflicted with %potion effect type%"