Skip to content

RushDuel.CostSendHandToDeckBottom ​

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

Signature ​

lua
RushDuel.CostSendHandToDeckBottom(any filter, any min, any max, any confirm, 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.
  • min any: Type and behavior are not yet reviewed; see the source.
  • max any: Type and behavior are not yet reviewed; see the source.
  • confirm 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:431

lua
function RushDuel.CostSendHandToDeckBottom(filter, min, max, confirm, set_label_before, set_object_before,
    set_label_after, set_object_after)
    return RushDuel.CostSendMatchToDeckSort(filter, LOCATION_HAND, min, max, true, SEQ_DECKBOTTOM, false, confirm,
        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 35 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.CostSendHandToDeckBottom.
CardIDScriptDetected Calls
Rising Protect120304055Rush/Scripts/c120304055.lua1
Handy Girl120290012Rush/Scripts/c120290012.lua1
Grace Princess Hina120287020Rush/Scripts/c120287020.lua1
Shadow Flower Clone120228049Rush/Scripts/c120228049.lua1
Super Soldier Radiance120293042Rush/Scripts/c120293042.lua1
Salvage Wolfish120228036Rush/Scripts/c120228036.lua1
Prime Claw Girl120257004Rush/Scripts/c120257004.lua1
The Mysterious Flying Plants Are Real!!120306048Rush/Scripts/c120306048.lua1
Brick Phone Nyan Nyan120217053Rush/Scripts/c120217053.lua1
Cat Claw Girl120235016Rush/Scripts/c120235016.lua1
Royal Rebel's Echo120205046Rush/Scripts/c120205046.lua1
Star Restart120196045Rush/Scripts/c120196045.lua1
Gulflare, the Skysavior120253049Rush/Scripts/c120253049.lua1
Sneezing Greedizauls120151008Rush/Scripts/c120151008.lua1
Dragonic Progression120253050Rush/Scripts/c120253050.lua1
Galactica Amnesia120216004Rush/Scripts/c120216004.lua1
Miginagi the Talismanic Warrior120222037Rush/Scripts/c120222037.lua1
Fullmetarion Ashurastar120271016Rush/Scripts/c120271016.lua1
Magnet Speeder120285024Rush/Scripts/c120285024.lua1
Nyanderful Rush120235049Rush/Scripts/c120235049.lua1
Shitotsu the Talismanic Warrior120208029Rush/Scripts/c120208029.lua1
Abysslayer Vodyanoy120239031Rush/Scripts/c120239031.lua1
Scarechair Code120260072Rush/Scripts/c120260072.lua1
Alpiris the Sower120228019Rush/Scripts/c120228019.lua1
...and 11 more

Script Examples ​

Rising Protect (120304055) ​

Source: Rush/Scripts/c120304055.lua

lua
	return (cm.filter1(tc1) and cm.filter2(tc2)) or (cm.filter1(tc2) and cm.filter2(tc1))
end
cm.cost=RD.CostSendHandToDeckBottom(Card.IsAbleToDeckAsCost,1,1,false)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
	if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_GRAVE,0,1,nil) end

Handy Girl (120290012) ​

Source: Rush/Scripts/c120290012.lua

lua
	return RD.IsBaseDefense(c,1200) and c:IsFusionAttribute(ATTRIBUTE_WIND)
end
cm.cost=RD.CostSendHandToDeckBottom(Card.IsAbleToDeckAsCost,1,1,false)
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

Grace Princess Hina (120287020) ​

Source: Rush/Scripts/c120287020.lua

lua
	return c:IsType(TYPE_RITUAL) and c:IsType(TYPE_SPELL) and c:IsSSetable()
end
cm.cost=RD.CostSendHandToDeckBottom(Card.IsAbleToDeckAsCost,1,1,false)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
	if chk==0 then return Duel.GetMZoneCount(tp)>0