Skip to content

Card.IsLeaveFieldDest

Source Code | 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)

Parameters

Returns

  • int

    If c would be sent to loc when it leaves the field.


card-check