Duel.CheckReleaseGroup
Source Code | Usage Examples | Duel Functions
Checks if there is a monster that can be used as tribute from the int player, that satisfies function, having a min and a max of the count specified with the exception of some card/group if specified, ... are extra arguments. If use_hand is true, then cards in the hand are considered for the tribute. If use_oppo is true, opponent's cards are also considered for the tribute. If check_field is true and card_to_check is passed, the function will also take in account to check if there are free zones (int zone) left on to_player's field to summon that card after tributing the cards. Also effects of cards like "Lair of Darkness" are taken into account when performing those checks.
Signature
Duel.CheckReleaseGroup(int player, function f, int count, [bool use_hand = false, int max = min, bool check_field = false, Card card_to_check = nil, int to_player = player, int zone = 255, bool use_oppo = false, Group|Card|nil ex, any ...]) → bool
Duel.CheckReleaseGroup(player,f,count,use_hand,max,check_field,card_to_check,to_player,zone,use_oppo,ex,...)Parameters
int
player(To be added)
function
f(To be added)
int
count(To be added)
bool
use_handOptional. Defaults to
false.(To be added)
int
maxOptional. Defaults to
min.(To be added)
bool
check_fieldOptional. Defaults to
false.(To be added)
Card
card_to_checkOptional. Defaults to
nil.(To be added)
int
to_playerOptional. Defaults to
player.(To be added)
int
zoneOptional. Defaults to
255.(To be added)
bool
use_oppoOptional. Defaults to
false.(To be added)
Group|Card|nil
exOptional.
(To be added)
any
...Optional.
(To be added)