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