Effect
Functions for working with effects. This is also used as the metatable for effects. This means functions in this namespace can be used as "methods" of effect objects, e.g. instead of Effect.Clone(e1)
, one can use e1.Clone(e1)
or e1:Clone()
. It is recommended to use the colon syntax.
Functions
Effect.GetCountLimit
- Gets information related to an effect's count limit.Effect.GetType
- Gets the type(s) of an effect.Effect.SetCountLimit
- Sets the number of times an effect can be used per turn.Effect.SetType
- Sets the type(s) of an effect.