Skip to content

Duel.GetTargetCount ​

Source Code | Usage Examples | Duel Functions

Returns the number of targets, except (Group/Card ex), that match (function f), taking (int player) as the referential player, in locations defined in (int s) for your cards and (int o) for opponent's.

Signature ​

Duel.GetTargetCount(function f, int player, int s, int o, Group|Card|nil ex, any ...) → int

lua
Duel.GetTargetCount(f,player,s,o,ex,...)

Parameters ​

Returns ​


under-construction