Temporary user effects module. Effects are described in detail in Users article.

Methods

getEffect (id:Int):EffectCore

Returns effect by its ID.

Parameters:

id

Effect ID.

Returns:

Effect data. Returns null, if not found.

getEffectByStringID (sid:String):EffectCore

Returns effect by its string ID.

Parameters:

sid

Effect string ID.

Returns:

Effect data. Returns null, if not found.

getList ():Map<Int, EffectCore>

Returns full key-value map of user effects.

Returns:

Key-value map of effects. Key is effect ID.