Card.GetCardEffect
Source Code | Usage Examples | Card
Functions
Returns all the effects being applied to a card, such as by Equip and Field Effects. This also includes the card's own Single effects. For effects registered or being granted to a card, use Card.GetOwnEffects
.
Signature
Card.GetCardEffect(Card c
, [int code
]) → Effect ...
lua
c:GetCardEffect(code)
Parameters
Card
c
The card to get the effects of.
int
code
Optional.
An EffectCode constant. If provided, the function will only return effects with that EffectCode.