Card.GetCardEffect
Returns all the effects with that code (int effect_code) registered to card (Card c). With no effect_code (effect_code=0) it will return all the effects registered. [effect_code refers to "EFFECT_" constants, eg: EFFECT_NECRO_VALLEY]. If no effect is found, returns nil.
Signature
Card.GetCardEffect(Card c
, [int effect_code
]) → Effect, |, nil, any
lua
c:GetCardEffect(effect_code)