Debug.AddCard
Source Code | Usage Examples | Debug Functions
Creates a new Card with the specified ID and places it in the location provided.
Signature
Debug.AddCard(int code, int owner, int player, int location, int seq, int pos, [bool sum_proper = false]) → Card
lua
Debug.AddCard(code,owner,player,location,seq,pos,sum_proper)Parameters
int
codeThe id of the card to be created.
int
ownerThe player that owns the card.
int
playerThe player that possesses the card.
int
locationThe location where the card will be placed.
int
seqThe sequence, within the provided location, where the card will be placed.
int
posThe position of the card
bool
sum_properOptional. Defaults to
false.a boolean that will be used to flag the card as properly summoned or not.