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
c
The card to check the reason of.
int
effect
The effect being checked to determine if it caused the event.