new LeveledEffectAction()

Description

A base class for effects with a level, the extending class needs to implement a method that calls setLevel()

Methods


<protected> setLevel( level )

Description

Sets the effect level for the action

Parameters
Name Type Description
level string | number

The strength of the effect


getActionTag() → {string}

Description

Returns the custom name tag that was given to this action

Returns

setActionTag() → {this}

Description

Sets the custom name tag for this action

Returns

toString() → {string}

Description

Calls toString() on all child qualifiers (implicitly by using .join()).

Returns

addQualifier( qualifier ) → {this}

Description

Adds the parameter to the action.

Parameters
Name Type Description
qualifier SDK.Qualifier
Returns

addFlag( flag ) → {this}

Description

Adds a flag to the current action.

Parameters
Name Type Description
flag Qualifiers.Flag
Returns