Card.IsLeaveFieldDest
Source Code | Usage Examples | Card Functions
Returns true if a card would be sent to a given location when it leaves the field, taking into account effects that would redirect it (e.g. "but banish it if it leaves the field").
Signature
Card.IsLeaveFieldDest(Card c, int loc) → int
lua
c:IsLeaveFieldDest(loc)