Duel.SendtoDeck
Source Code | Usage Examples | Duel
Functions
Sends a card or group (Card|Group targets) to the Deck with (int reason) as reason, if (int player) is supplied, the destination would be that player's Deck. If (int rp) is provided, sets the reason player to be that player. Available sequence values (SEQ_DECKTOP, SEQ_DECKBOTTOM and SEQ_DECKSHUFFLE). If SEQ_DECKSHUFFLE or other values are used for the sequence, the card is put on the top, and the Deck will be shuffled after the function resolution, except if Duel.DisableShuffleCheck() is set to true beforehand. Returns the number of cards successfully sent to the Deck.
Signature
Duel.SendtoDeck(Card|Group targets
, int|nil player
= PLAYER_NONE
, int seq
, int reason
, [int rp
]) → int
Duel.SendtoDeck(targets,player,seq,reason,rp)
Parameters
Card|Group
targets
(To be added)
int|nil
player
Defaults to
PLAYER_NONE
.(To be added)
int
seq
(To be added)
int
reason
(To be added)
int
rp
Optional.
(To be added)