Skip to content

Card.GetLeaveFieldDest

Source Code | Card Functions

Returns the location a card would be sent to 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.GetLeaveFieldDest(Card c) → int

lua
c:GetLeaveFieldDest()

Parameters

  • Card c

    The card to check the destination of.

Returns