Skip to content

RushDuel.CostSendGraveSubToDeckBottom ​

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

Signature ​

lua
RushDuel.CostSendGraveSubToDeckBottom(any filter, any check, any min, any max, any set_label_before, any set_object_before, any set_label_after, any set_object_after) -> any

Description ​

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

Upstream source comment ​

text
代价: 让墓地的卡返回卡组下面 (子卡片组)

Parameters ​

  • filter any: Type and behavior are not yet reviewed; see the source.
  • check 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.
  • set_label_before any: Type and behavior are not yet reviewed; see the source.
  • set_object_before any: Type and behavior are not yet reviewed; see the source.
  • set_label_after any: Type and behavior are not yet reviewed; see the source.
  • set_object_after 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/RDCost.lua:473

lua
function RushDuel.CostSendGraveSubToDeckBottom(filter, check, min, max, set_label_before, set_object_before,
    set_label_after, set_object_after)
    return RushDuel.CostSendGroupToDeckSort(filter, check, LOCATION_GRAVE, min, max, false, SEQ_DECKBOTTOM, false, true,
        set_label_before, set_object_before, set_label_after, set_object_after)
end

Used By ​

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

  • Detected in 10 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.CostSendGraveSubToDeckBottom.
CardIDScriptDetected Calls
Vortex Chaos Shooter120277006Rush/Scripts/c120277006.lua1
Yoctron120150017Rush/Scripts/c120150017.lua1
Hybridrive Screwdriver120261006Rush/Scripts/c120261006.lua1
Icezark the Unequaled120170022Rush/Scripts/c120170022.lua1
Cybernetic Overflow120278037Rush/Scripts/c120278037.lua1
Over Rush Volcano120301076Rush/Scripts/c120301076.lua1
Scarechair Scale120151026Rush/Scripts/c120151026.lua1
Galactic Chaos Enforcer120277005Rush/Scripts/c120277005.lua1
JAM:P Start!120170040Rush/Scripts/c120170040.lua1
Hybridrive Restruct120261053Rush/Scripts/c120261053.lua1

Script Examples ​

Vortex Chaos Shooter (120277006) ​

Source: Rush/Scripts/c120277006.lua

lua
		or (tc2:IsRace(RACE_GALAXY) and tc1:IsCode(list[1]))
end
cm.cost=RD.CostSendGraveSubToDeckBottom(cm.costfilter,cm.costcheck,2,2)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
	if chk==0 then return Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_GRAVE,0,1,nil) end

Yoctron (120150017) ​

Source: Rush/Scripts/c120150017.lua

lua
	return c:IsCode(list[1],list[2],list[3]) and c:IsAbleToDeckOrExtraAsCost()
end
cm.cost=RD.CostSendGraveSubToDeckBottom(cm.costfilter,aux.dncheck,3,3)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
	if chk==0 then return e:GetHandler():IsAbleToGrave() and Duel.IsPlayerCanDraw(tp,3) end

Hybridrive Screwdriver (120261006) ​

Source: Rush/Scripts/c120261006.lua

lua
	return g:FilterCount(Card.IsRace,nil,RACE_DRAGON)==2 and g:FilterCount(Card.IsRace,nil,RACE_MACHINE)==2
end
cm.cost=RD.CostSendGraveSubToDeckBottom(cm.costfilter,cm.costcheck,4,4)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
	if chk==0 then return Duel.IsExistingMatchingCard(nil,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end