Skip to content

RushDuel.CostSendGraveSubToDeck ​

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

Signature ​

lua
RushDuel.CostSendGraveSubToDeck(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:449

lua
function RushDuel.CostSendGraveSubToDeck(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_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 26 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.CostSendGraveSubToDeck.
CardIDScriptDetected Calls
Voidalfr Star Mayfly120300034Rush/Scripts/c120300034.lua1
Fuden Issen120309034Rush/Scripts/c120309034.lua1
Sparkhearts Makma120298023Rush/Scripts/c120298023.lua1
Fairy of the Stars120305016Rush/Scripts/c120305016.lua1
Star Cat Destronya120235037Rush/Scripts/c120235037.lua1
Abysslayer Quintiamat120257021Rush/Scripts/c120257021.lua1
Finalize Phoenix120231046Rush/Scripts/c120231046.lua1
Pholus the Star Knight120203020Rush/Scripts/c120203020.lua1
Constructor Sentry Dragline120247042Rush/Scripts/c120247042.lua1
Black Luster Soljersey - Envoy of the Drying120228017Rush/Scripts/c120228017.lua1
Voidvelg Chaosmachia120254019Rush/Scripts/c120254019.lua1
Magical Warrior of Heritage120285030Rush/Scripts/c120285030.lua1
Darkness Paparazzi120253009Rush/Scripts/c120253009.lua1
Strange Attractor120260017Rush/Scripts/c120260017.lua1
Necromaid Re:D120294045Rush/Scripts/c120294045.lua1
Player #99: Grand Slam Dragon120199027Rush/Scripts/c120199027.lua1
Necromaid Lurker120294044Rush/Scripts/c120294044.lua1
Splame120244027Rush/Scripts/c120244027.lua1
Excutie Scout!120231038Rush/Scripts/c120231038.lua1
Justiciar of the Dragon Stream120272029Rush/Scripts/c120272029.lua1
Endless Romance Blitz120205034Rush/Scripts/c120205034.lua1
Skull Flower120272030Rush/Scripts/c120272030.lua1
Ancient Barrier120155040Rush/Scripts/c120155040.lua1
Explorer of the Temple120280010Rush/Scripts/c120280010.lua1
...and 2 more

Script Examples ​

Voidalfr Star Mayfly (120300034) ​

Source: Rush/Scripts/c120300034.lua

lua
	return RD.IsSpecialSummonMainPhase(e:GetHandler(),SUMMON_TYPE_FUSION)
end
cm.cost=RD.CostSendGraveSubToDeck(cm.costfilter,cm.check,3,3)
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) end

Fuden Issen (120309034) ​

Source: Rush/Scripts/c120309034.lua

lua
	return eg:IsExists(cm.confilter,1,nil,1-tp)
end
cm.cost=RD.CostSendGraveSubToDeck(cm.costfilter,cm.check,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

Sparkhearts Makma (120298023) ​

Source: Rush/Scripts/c120298023.lua

lua
	end
end
cm.cost=RD.CostSendGraveSubToDeck(cm.costfilter,cm.check,2,4)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
	if chk==0 then return Duel.IsExistingMatchingCard(cm.posfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,e,tp) end