User effect static data.

Fields

read only attributes:List<_EffectAttribute>

List of effect attributes.

read only id:Int

Effect ID.

read only name:String

Effect name.

read only stringid:String

String ID. Used for special named effects.

read only time:Int

Time to live in minutes.

Methods

getAttribute (id:String):Int

Returns attribute value.

Parameters:

id

Attribute string ID.

Returns:

Attribute value. Returns 0, if not found.