Skip to content

Duel.CheckReleaseGroupEx ​

Signature ​

lua
Duel.CheckReleaseGroupEx(int player, [function|nil f], int count, int reason, bool use_hand, [Card|Group|nil ex], ... any) -> bool

Description ​

Checks whether player can release at least count cards matching f, excluding ex, with an explicit reason and optional hand releases. Extra arguments after ex are passed to f after the Card argument.

Parameters ​

  • player int
  • f function|nil optional
  • count int
  • reason int
  • use_hand bool
  • ex Card|Group|nil optional
  • ... any

Returns ​

  • bool

Source ​

  • D:\Programs\GitHub\ygopro-core\libduel.cpp:4978

Used By ​

Generated from the local Scripts/ folder and cards.cdb.

  • Detected in 119 indexed script(s).
  • Search this function in the Script Explorer with Duel.CheckReleaseGroupEx.
CardIDScriptDetected Calls
Odd-Eyes Arcray Dragon6218704Scripts/c6218704.lua1
Flower Cardian Peony with Butterfly57261568Scripts/c57261568.lua1
Flower Cardian Willow with Calligrapher89818984Scripts/c89818984.lua1
Cyber Pharos29719112Scripts/c29719112.lua1
Vaylantz Genesis Grand Duke76075139Scripts/c76075139.lua1
Kuribeh34419588Scripts/c34419588.lua1
Clown Crew Malabarisme83232904Scripts/c83232904.lua1
Cyberdark End Dragon37542782Scripts/c37542782.lua1
Tensei Ryu-Ge Anva56322832Scripts/c56322832.lua1
Abyssrhine, the Atlantean Spirit17080584Scripts/c17080584.lua1
Rainbow Overdragon37440988Scripts/c37440988.lua1
Egyptian God Slime42166000Scripts/c42166000.lua1
LaSolfachord Angelia27993919Scripts/c27993919.lua1
Dawn Angel Kambi12500059Scripts/c12500059.lua1
Hrimnir the Divine Follower49904658Scripts/c49904658.lua1
Destiny HERO - Dreadnought Master54641720Scripts/c54641720.lua1
Fabled Levilazebul21281085Scripts/c21281085.lua1
Clown Crew Finale84031736Scripts/c84031736.lua1
Toon Black Luster Soldier28711704Scripts/c28711704.lua1
Hieratic Dragon of Nebthet31516413Scripts/c31516413.lua2
Blue-Eyes Tyrant Dragon11443677Scripts/c11443677.lua1
Hieratic Dragon of Su3300267Scripts/c3300267.lua2
Gizmek Yata, the Gleaming Vanguard13224603Scripts/c13224603.lua1
Fallen Angel of the Golden Land43143567Scripts/c43143567.lua1
...and 95 more

Script Examples ​

Odd-Eyes Arcray Dragon (6218704) ​

Source: Scripts/c6218704.lua

lua
function c6218704.hspcon(e,c)
	if c==nil then return true end
	return c:IsFacedown() and Duel.CheckReleaseGroupEx(c:GetControler(),c6218704.hspfilter,1,REASON_SPSUMMON,false,nil,c:GetControler(),c)
end
function c6218704.hsptg(e,tp,eg,ep,ev,re,r,rp,chk,c)

Flower Cardian Peony with Butterfly (57261568) ​

Source: Scripts/c57261568.lua

lua
	if c==nil then return true end
	local tp=c:GetControler()
	return Duel.CheckReleaseGroupEx(tp,c57261568.hspfilter,1,REASON_SPSUMMON,false,nil,tp)
end
function c57261568.hsptg(e,tp,eg,ep,ev,re,r,rp,chk,c)

Flower Cardian Willow with Calligrapher (89818984) ​

Source: Scripts/c89818984.lua

lua
	if c==nil then return true end
	local tp=c:GetControler()
	return Duel.CheckReleaseGroupEx(tp,c89818984.hspfilter,1,REASON_SPSUMMON,false,nil,tp)
end
function c89818984.hsptg(e,tp,eg,ep,ev,re,r,rp,chk,c)