Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers

Class

script.zs
import mods.roots.Modifiers;

Methods

script.zs
void disableModifier(
string modifierName // the modifier name to be disabled (if not provided in the format of roots:modifier, a resource location will be created from the string)
);

This is used to disable specific modifiers.


Examples

script.zs
import mods.roots.Modifiers;
Modifiers.disableModifier("roots:radius_boost"); // Disables the radius boost modifier from the Acid Cloud spell.