Skip to content

Duel.SelectTarget ​

Source Code | Usage Examples | Duel Functions

This function's behaviour is equivalent of calling Duel.SelectMatchingCard with the same arguments and filtering cards with Card.IsCanBeEffectTarget with the current reason effect as parameter (internal to the core, but most of the time corresponds to the effect itself)

Signature ​

Duel.SelectTarget(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.SelectTarget(sel_player,f,player,s,o,min,max,cancelable,ex,...)

Parameters ​

Returns ​


under-construction