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.HasDetachCost- Checks if an effect has a cost that detaches Xyz Materials from itself.Effect.HasSelfDiscardCost- Checks if an effect has a cost that discards the activating card itself.Effect.HasSelfToGraveCost- Checks if an effect has a cost that sends the activating card itself to the GY.Effect.SetCountLimit- Sets the number of times an effect can be used per turn.Effect.SetType- Sets the type(s) of an effect.