Skip to content

Duel.DiscardHand

Source Code | Usage Examples | Duel Functions

Makes (int player) discard between (int min) and (int max) cards from their hand for which (function f) returns true sing as reason (int reason), except (Group|Card ex).

Signature

Duel.DiscardHand(int player, function|nil f, int min, int max, int reason, Group|Card|nil ex, any ...) → int

lua
Duel.DiscardHand(player,f,min,max,reason,ex,...)

Parameters

Returns


under-construction