Duel.SelectMatchingCard
Source Code | Usage Examples | Duel
Functions
Makes (int sel_player) select between a minimum and maximum (int min, int max) number of cards in locations (int s) (on (int player)'s side of the field) and (int o) (on their opponent's) for which (function f) returns true, except (Card ex). If cancelable is true and the selection is canceled nil will be returned. If both cancelable and a minimum of 0 are passed, the result is unspecified.
Signature
Duel.SelectMatchingCard(int sel_player
, function f
, int player
, int s
, int o
, int min
, int max
, [any cancelable
= false
, Group|Card|nil ex
, any ...
]) → Group
Duel.SelectMatchingCard(sel_player,f,player,s,o,min,max,cancelable,ex,...)
Parameters
int
sel_player
(To be added)
function
f
(To be added)
int
player
(To be added)
int
s
(To be added)
int
o
(To be added)
int
min
(To be added)
int
max
(To be added)
any
cancelable
Optional. Defaults to
false
.(To be added)
Group|Card|nil
ex
Optional.
(To be added)
any
...
Optional.
(To be added)