Skip to content

RushDuel.CostSendGraveToDeckBottom ​

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

Signature ​

lua
RushDuel.CostSendGraveToDeckBottom(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:467

lua
function RushDuel.CostSendGraveToDeckBottom(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_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 43 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.CostSendGraveToDeckBottom.
CardIDScriptDetected Calls
Player #C39: Home Run Smasher V120305028Rush/Scripts/c120305028.lua1
Lostream Reading120309043Rush/Scripts/c120309043.lua1
Voidalfr Star Stripe120300033Rush/Scripts/c120300033.lua1
Etraynze the Shadow Flower Restricter120254041Rush/Scripts/c120254041.lua1
Legendary Saber120238010Rush/Scripts/c120238010.lua1
Ritche of Hope120287072Rush/Scripts/c120287072.lua1
Star Sanctuary of Beginning120305027Rush/Scripts/c120305027.lua1
Shadow Flower Bedazzlement120285064Rush/Scripts/c120285064.lua1
Ice Age Catapult120170013Rush/Scripts/c120170013.lua1
Sea Dragon Kleindros120199031Rush/Scripts/c120199031.lua1
Wyrm Excavator the Heavy Cavalry Draco [R]120155023Rush/Scripts/c120155023.lua1
Twilight Companion - Dralia120304068Rush/Scripts/c120304068.lua1
Infernal Flame Emperor120109045Rush/Scripts/c120109045.lua1
Buried Shield120205060Rush/Scripts/c120205060.lua1
Dragon Roll the Sushi Fairy120151040Rush/Scripts/c120151040.lua1
Animagica Whip120277031Rush/Scripts/c120277031.lua1
Jinzo #7.7120257026Rush/Scripts/c120257026.lua1
Mazera, Devil of the Den120290036Rush/Scripts/c120290036.lua1
Garland the True Shadow Flower Ninja120170031Rush/Scripts/c120170031.lua1
New Start120277061Rush/Scripts/c120277061.lua1
Kuzuha the Talismanic Master120228039Rush/Scripts/c120228039.lua1
Freed the Brave Wanderer120263013Rush/Scripts/c120263013.lua1
Offering to the Archfiend120277055Rush/Scripts/c120277055.lua1
Insurrection Dragon120155016Rush/Scripts/c120155016.lua1
...and 19 more

Script Examples ​

Player #C39: Home Run Smasher V (120305028) ​

Source: Rush/Scripts/c120305028.lua

lua
	return RD.IsSpecialSummonMainPhase(e:GetHandler())
end
cm.cost=RD.CostSendGraveToDeckBottom(cm.costfilter,1,1)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
	if chk==0 then return Duel.IsExistingMatchingCard(nil,tp,0,LOCATION_MZONE,1,nil) end

Lostream Reading (120309043) ​

Source: Rush/Scripts/c120309043.lua

lua
	return RD.IsPlayerNoActivateInThisTurn(tp,list[1])
end
cm.cost=RD.CostSendGraveToDeckBottom(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,LOCATION_SZONE,0,1,nil) end

Voidalfr Star Stripe (120300033) ​

Source: Rush/Scripts/c120300033.lua

lua
	return RD.IsSpecialSummonMainPhase(e:GetHandler(),SUMMON_TYPE_FUSION)
end
cm.cost=RD.CostSendGraveToDeckBottom(cm.costfilter,1,1,nil,nil,function(g)
	return g:GetSum(Card.GetLevel)
end)