Skip to content

RushDuel.SelectGroupAndDoAction ​

Alias: RD.SelectGroupAndDoAction. Requires the matching Rush Duel Lua bootstrap.

Signature ​

lua
RushDuel.SelectGroupAndDoAction(any hint, any filter, any check, any tp, any s_range, any o_range, any min, any max, any expect, any action) -> any

Description ​

Rush Duel helper declared in RDAction.lua. Its argument names are extracted from the pinned source; parameter and return types have not yet been reviewed.

Upstream source comment ​

text
操作: 选择子卡片组

Parameters ​

  • hint any: Type and behavior are not yet reviewed; see the source.
  • filter any: Type and behavior are not yet reviewed; see the source.
  • check any: Type and behavior are not yet reviewed; see the source.
  • tp any: Type and behavior are not yet reviewed; see the source.
  • s_range any: Type and behavior are not yet reviewed; see the source.
  • o_range any: Type and behavior are not yet reviewed; see the source.
  • min any: Type and behavior are not yet reviewed; see the source.
  • max any: Type and behavior are not yet reviewed; see the source.
  • expect any: Type and behavior are not yet reviewed; see the source.
  • action any: Type and behavior are not yet reviewed; see the source.

Returns ​

  • any: Return contract has not been reviewed; inspect the source below.

Source ​

Rush/Utilities/RDAction.lua:112

lua
function RushDuel.SelectGroupAndDoAction(hint, filter, check, tp, s_range, o_range, min, max, expect, action)
    local hint_selection = RushDuel._private_is_include_public(s_range, o_range)
    return RushDuel._private_action_select_group(hint, filter, check, tp, s_range, o_range, min, max, expect, hint_selection, false, action)
end

Used By ​

Generated from the local Rush/Scripts/ folder and rush_cards.cdb.

  • Detected in 40 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.SelectGroupAndDoAction.
CardIDScriptDetected Calls
Lufer the Symbol of the Devils120309059Rush/Scripts/c120309059.lua1
Analyze Phlogiston120226001Rush/Scripts/c120226001.lua1
Planet Aegis120297006Rush/Scripts/c120297006.lua1
Rising Protect120304055Rush/Scripts/c120304055.lua1
Tubardiche the Music Princess120247025Rush/Scripts/c120247025.lua1
Spiritualization Training120301020Rush/Scripts/c120301020.lua1
Animagica Majesty120277063Rush/Scripts/c120277063.lua1
Darkness Jointech Tyrant120257018Rush/Scripts/c120257018.lua1
The Dragiastar120235035Rush/Scripts/c120235035.lua1
Excutie Lumière120231031Rush/Scripts/c120231031.lua1
Sportsdragon Defender120130019Rush/Scripts/c120130019.lua1
Cyber Tactical Dragon120244044Rush/Scripts/c120244044.lua1
Spice Cross Black Pepper120261061Rush/Scripts/c120261061.lua1
Ring of Storms120235055Rush/Scripts/c120235055.lua1
The Ultimate Flag120294019Rush/Scripts/c120294019.lua1
Prime Roast Beef Horseman120205042Rush/Scripts/c120205042.lua1
Shadowforce Explosion120300042Rush/Scripts/c120300042.lua1
Vortex Chaos Shooter120277006Rush/Scripts/c120277006.lua1
Dark Matter Requiem Omega120264040Rush/Scripts/c120264040.lua1
Triangle Reborn120155051Rush/Scripts/c120155051.lua1
Explosive Destructor Wyrm Dangerous Bakhamut120247038Rush/Scripts/c120247038.lua1
Animagica Trader120277026Rush/Scripts/c120277026.lua1
Destructor Detonator Heavy Contractor120247039Rush/Scripts/c120247039.lua1
Tail Swipe120277059Rush/Scripts/c120277059.lua1
...and 16 more

Script Examples ​

Lufer the Symbol of the Devils (120309059) ​

Source: Rush/Scripts/c120309059.lua

lua
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
	RD.SelectGroupAndDoAction(aux.Stringid(m,1),cm.filter,cm.check,tp,LOCATION_MZONE,0,2,2,nil,function(g)
		local reset=RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END
		g:ForEach(function(tc)

Analyze Phlogiston (120226001) ​

Source: Rush/Scripts/c120226001.lua

lua
	local lv=g:GetSum(Card.GetLevel,nil)
	local check=RD.Check(cm.check,lv)
	RD.SelectGroupAndDoAction(HINTMSG_TODECK,aux.NecroValleyFilter(cm.filter),check,tp,LOCATION_GRAVE,0,3,3,nil,function(sg)
		if RD.SendToDeckAndExists(sg,e,tp,REASON_EFFECT) then
			Duel.BreakEffect()

Planet Aegis (120297006) ​

Source: Rush/Scripts/c120297006.lua

lua
end
function cm.operation(e,tp,eg,ep,ev,re,r,rp)
	RD.SelectGroupAndDoAction(aux.Stringid(m,1),cm.filter,cm.check,tp,LOCATION_ONFIELD,0,1,2,nil,function(g)
		g:ForEach(function(tc)
			local e1=Effect.CreateEffect(e:GetHandler())