Skip to content

Effect.IsActiveType ​

Source Code | Usage Examples | Effect Functions

Compares (with OR) an effect's (Effect e) CardType of activation effect with supplied type (int type). Activation type is often the handler's CardType, or the owner's if not attached to a card. Exception for Pendulum scale activation (would return TYPE_SPELL+TYPE_PENDULUM).

Signature ​

Effect.IsActiveType(Effect e, int type) → bool

lua
e:IsActiveType(type)

Parameters ​

Returns ​


under-construction