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
code
The id of the card to be created.
int
owner
The player that owns the card.
int
player
The player that possesses the card.
int
location
The location where the card will be placed.
int
seq
The sequence, within the provided location, where the card will be placed.
int
pos
The position of the card
bool
sum_proper
Optional. Defaults to
false
.a boolean that will be used to flag the card as properly summoned or not.