Skip to content

Card.IsAbleToRemove

Source Code | Usage Examples | Card Functions

Checks if a card (Card c) can be banished. The optional parameters are the player that would banish the card (int player), the position the card must go (int pos) and the reason for the banishing (int reason).

Signature

Card.IsAbleToRemove(Card c, [int player = reason, int pos = POS_FACEUP, int reason = REASON_EFFECT]) → bool

lua
c:IsAbleToRemove(player,pos,reason)

Parameters

  • Card c

    (To be added)

  • int player

    Optional. Defaults to reason.

    (To be added)

  • int pos

    Optional. Defaults to POS_FACEUP.

    (To be added)

  • int reason

    Optional. Defaults to REASON_EFFECT.

    (To be added)

Returns


under-construction