Card.IsReasonEffect
Source Code | Usage Examples | Card Functions
Returns true if a given effect caused the Event that happened to a card.
Signature
Card.IsReasonEffect(Card c, int effect) → bool
lua
c:IsReasonEffect(effect)Parameters
Card
cThe card to check the reason of.
int
effectThe effect being checked to determine if it caused the event.