Skip to content

RushDuel.CostSendGraveToDeck ​

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

Signature ​

lua
RushDuel.CostSendGraveToDeck(any filter, 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.
  • 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:443

lua
function RushDuel.CostSendGraveToDeck(filter, min, max, set_label_before, set_object_before, set_label_after,
    set_object_after)
    return RushDuel.CostSendMatchToDeckSort(filter, LOCATION_GRAVE, min, max, false, SEQ_DECKSHUFFLE, 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 188 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.CostSendGraveToDeck.
CardIDScriptDetected Calls
Dolphin Counterattack120199058Rush/Scripts/c120199058.lua1
Spice Cross Secret Recipe120261060Rush/Scripts/c120261060.lua1
Hybridrive Back Fusion120261052Rush/Scripts/c120261052.lua1
Shannah the Clad Dragon Researcher120304017Rush/Scripts/c120304017.lua1
Galactica Lost Oblivion120277042Rush/Scripts/c120277042.lua1
Lullalabind120246073Rush/Scripts/c120246073.lua1
False Sun120264033Rush/Scripts/c120264033.lua1
Bluetech Burst Rex120261044Rush/Scripts/c120261044.lua1
Red-Reboot Enhanced Boost Dragon120253037Rush/Scripts/c120253037.lua1
Fist the Contractor of the Imprisoned Dragon120306037Rush/Scripts/c120306037.lua1
Madrhea Amelo120300028Rush/Scripts/c120300028.lua1
Chemicalizer Wing120272057Rush/Scripts/c120272057.lua1
Plasmatic Model Smart Owl120285019Rush/Scripts/c120285019.lua1
Galactica Supreme Oblivion120245003Rush/Scripts/c120245003.lua1
Voidvelg Divine Requiem120109037Rush/Scripts/c120109037.lua1
Ether Escape120235062Rush/Scripts/c120235062.lua1
Abyssal Sea Dragon Abyss Kraken [L]120239016Rush/Scripts/c120239016.lua1
Poet Fairy120208021Rush/Scripts/c120208021.lua1
Skysavior Defense120301054Rush/Scripts/c120301054.lua1
Jointech Joint120257058Rush/Scripts/c120257058.lua1
Ever-Grace Princess Hina120290038Rush/Scripts/c120290038.lua1
Roaring Firestorm Volcalize Phoenix [L]120249015Rush/Scripts/c120249015.lua1
Siesta Torero120170035Rush/Scripts/c120170035.lua1
Vortex of Shattered Light120244065Rush/Scripts/c120244065.lua1
...and 164 more

Script Examples ​

Dolphin Counterattack (120199058) ​

Source: Rush/Scripts/c120199058.lua

lua
		and c and c:IsControler(tp) and c:IsFaceup() and c:IsRace(RACE_FISH+RACE_SEASERPENT)
end
cm.cost=RD.CostSendGraveToDeck(cm.costfilter,1,1)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
	if chk==0 then return Duel.IsExistingMatchingCard(Card.IsFaceup,tp,0,LOCATION_MZONE,1,nil) end

Spice Cross Secret Recipe (120261060) ​

Source: Rush/Scripts/c120261060.lua

lua
	return eg:IsExists(cm.confilter,1,nil,1-tp)
end
cm.cost=RD.CostSendGraveToDeck(cm.costfilter,2,2)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
	if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,0,LOCATION_MZONE,1,nil,e,tp) end

Hybridrive Back Fusion (120261052) ​

Source: Rush/Scripts/c120261052.lua

lua
	return sg:GetClassCount(Card.GetRace)==sg:GetCount()
end
cm.cost=RD.CostSendGraveToDeck(cm.costfilter,4,4)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
	if chk==0 then return Duel.GetMZoneCount(1-tp)>0