Skip to content

Duel.GetFirstMatchingCard

Source Code | Duel Functions

Get the first card 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)

Signature

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

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

Parameters

Returns


under-construction