Duel.SelectReleaseGroup
Signature
lua
Duel.SelectReleaseGroup(int sel_player, [function|nil f], int min, int max, [Card|Group|nil ex], ... any) -> GroupDescription
Lets player select min to max releasable cards matching f, excluding ex, and returns the selected Group. Extra arguments after ex are passed to f after the Card argument.
Parameters
sel_playerintffunction|niloptionalminintmaxintexCard|Group|niloptional...any
Returns
Group
Source
D:\Programs\GitHub\ygopro-core\libduel.cpp:4977
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 430 indexed script(s).
- Search this function in the Script Explorer with
Duel.SelectReleaseGroup.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Goyo Emperor | 59255742 | Scripts/c59255742.lua | 1 |
| Meteoroa Drytron | 24166324 | Scripts/c24166324.lua | 1 |
| Mitsurugi Magatama | 76725398 | Scripts/c76725398.lua | 1 |
| Frightfur Meister | 77522571 | Scripts/c77522571.lua | 1 |
| Mixeroid | 71340250 | Scripts/c71340250.lua | 1 |
| Mecha Phantom Beast Auroradon | 44097050 | Scripts/c44097050.lua | 2 |
| Xtra HERO Cross Crusader | 58004362 | Scripts/c58004362.lua | 1 |
| D/D Vice Typhon | 59123937 | Scripts/c59123937.lua | 1 |
| Supreme King Z-ARC - Synchro Universe | 48654267 | Scripts/c48654267.lua | 1 |
| Dangers of the Divine | 22082432 | Scripts/c22082432.lua | 1 |
| Laevateinn the Burning Blade | 6260560 | Scripts/c6260560.lua | 1 |
| Max Metalmorph | 89812483 | Scripts/c89812483.lua | 1 |
| Infernity Paranoia | 86547356 | Scripts/c86547356.lua | 1 |
| Master Spirit Tech Force - Pendulum Ruler | 68508433 | Scripts/c68508433.lua | 1 |
| Neiroy, the Dream Mirror Traitor | 90176467 | Scripts/c90176467.lua | 1 |
| Altergeist Memorygant | 23790299 | Scripts/c23790299.lua | 1 |
| Abyss Actor - Superstar | 25629622 | Scripts/c25629622.lua | 1 |
| Soul of the Supreme Celestial King | 76840111 | Scripts/c76840111.lua | 1 |
| Prompthorn | 50548657 | Scripts/c50548657.lua | 1 |
| Oh Tokenbaum! | 97173708 | Scripts/c97173708.lua | 2 |
| Raviel, Lord of Phantasms - Shimmering Scraper | 28651380 | Scripts/c28651380.lua | 1 |
| Ancient Gear Advance | 4064925 | Scripts/c4064925.lua | 1 |
| Infernoid Piaty | 25811989 | Scripts/c25811989.lua | 1 |
| Assault Reboot | 74431740 | Scripts/c74431740.lua | 1 |
| ...and 406 more |
Script Examples
Goyo Emperor (59255742)
Source: Scripts/c59255742.lua
lua
local g=eg:Filter(c59255742.filter,nil,tp)
if chk==0 then return Duel.CheckReleaseGroup(tp,c59255742.costfilter,1,nil,tp,g) end
local g=Duel.SelectReleaseGroup(tp,c59255742.costfilter,1,1,nil,tp,g)
Duel.Release(g,REASON_COST)
endMeteoroa Drytron (24166324)
Source: Scripts/c24166324.lua
lua
function s.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,s.rlfilter,1,nil) end
local g=Duel.SelectReleaseGroup(tp,s.rlfilter,1,1,nil)
Duel.Release(g,REASON_COST)
endMitsurugi Magatama (76725398)
Source: Scripts/c76725398.lua
lua
e:SetCategory(CATEGORY_DESTROY)
e:SetProperty(EFFECT_FLAG_CARD_TARGET)
local g=Duel.SelectReleaseGroup(tp,s.cfilter,1,1,nil,tp)
aux.UseExtraReleaseCount(g,tp)
Duel.Release(g,REASON_COST)