Skip to content

Card.GetActivateEffect ​

Source Code | Usage Examples | Card Functions

Gets a card's activation effects (i.e., effects with EFFECT_TYPE_ACTIVATE in their effect type).

Signature ​

Card.GetActivateEffect(Card c) → Effect ...

lua
c:GetActivateEffect()

Parameters ​

  • Card c ​

    The card to get the activation effects of.

Returns ​

  • Effect ... ​

    All the effects registered to the card that have EFFECT_TYPE_ACTIVATE in their types.