Card.SetUniqueOnField
Source Code | Usage Examples | Card
Functions
Sets a card's (Card c) "Can only control 1" clause, int s denotes checking of the would-be owner's field, int o denotes checking the opposing field. unique_location denotes the location the card is unique (setting location outside the field has no meaning)
Signature
Card.SetUniqueOnField(Card c
, int s
, int o
, int unique_code
, [int unique_location
= LOCATION_ONFIELD
]) → nil
lua
c:SetUniqueOnField(s,o,unique_code,unique_location)
Parameters
Card
c
(To be added)
int
s
(To be added)
int
o
(To be added)
int
unique_code
(To be added)
int
unique_location
Optional. Defaults to
LOCATION_ONFIELD
.(To be added)