Skip to content

Duel.SelectMatchingCard

Source Code | 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

lua
Duel.SelectMatchingCard(sel_player,f,player,s,o,min,max,cancelable,ex,...)

Parameters

Returns


under-construction