Skip to content

Card.CheckUniqueOnField

Source Code | Usage Examples | Card Functions

Checks if (Card c) going to a player's (int player) field would violate the "Can only control 1" clause. If (int check_location) is provided, checks for the uniqueness in that location only. (Card icard) is the ignored card.

Signature

Card.CheckUniqueOnField(Card c, int check_player, [int check_location = LOCATION_ONFIELD, Card icard]) → bool

lua
c:CheckUniqueOnField(check_player,check_location,icard)

Parameters

  • Card c

    (To be added)

  • int check_player

    (To be added)

  • int check_location

    Optional. Defaults to LOCATION_ONFIELD.

    (To be added)

  • Card icard

    Optional.

    (To be added)

Returns


under-construction