Skip to content

RushDuel.FusionToDeck ​

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

Signature ​

lua
RushDuel.FusionToDeck(any tp, any mat) -> any

Description ​

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

Upstream source comment ​

text
素材去向: 卡组

Parameters ​

  • tp any: Type and behavior are not yet reviewed; see the source.
  • mat 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/RDFusion.lua:624

lua
function RushDuel.FusionToDeck(tp, mat)
    local g = mat:Filter(Card.IsFacedown, nil)
    if #g > 0 then
        Duel.ConfirmCards(1 - tp, g)
    end
    Duel.SendtoDeck(mat, nil, SEQ_DECKSHUFFLE, REASON_EFFECT + REASON_MATERIAL + REASON_FUSION)
end

Used By ​

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

  • Detected in 34 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.FusionToDeck.
CardIDScriptDetected Calls
Hybridrive Back Fusion120261052Rush/Scripts/c120261052.lua1
Rising HERO Argent O120304042Rush/Scripts/c120304042.lua1
Plandolin-a-la-Mode120264042Rush/Scripts/c120264042.lua1
Battletested Curse of Dragon120249031Rush/Scripts/c120249031.lua1
Ultra Evolution Miracle120274051Rush/Scripts/c120274051.lua1
OuTerverSe Detonation Fusion120290058Rush/Scripts/c120290058.lua1
Battletested Gaia The Fierce Knight120249032Rush/Scripts/c120249032.lua1
Princess Cosmos the Trickster120293046Rush/Scripts/c120293046.lua1
The Draco120294002Rush/Scripts/c120294002.lua1
Destructor Integration Scrap Gate120264053Rush/Scripts/c120264053.lua1
Void Dust Fusion120277052Rush/Scripts/c120277052.lua1
Flash Memory Fusion120285062Rush/Scripts/c120285062.lua1
Rising Equip120304062Rush/Scripts/c120304062.lua1
Dragon Tribe Fusion120238024Rush/Scripts/c120238024.lua1
Pulsating Cocoon of Evolution120298036Rush/Scripts/c120298036.lua1
Transam Nebula Fusion120272048Rush/Scripts/c120272048.lua1
Skullcrag Incursion120298015Rush/Scripts/c120298015.lua1
Speed Sniper120301060Rush/Scripts/c120301060.lua2
Road Apostle Slinger120285032Rush/Scripts/c120285032.lua1
Imaginary Arc Surge120271040Rush/Scripts/c120271040.lua1
Gateway to the Wooly Wunderworld120293025Rush/Scripts/c120293025.lua1
Princess Cosmos Stirs120293054Rush/Scripts/c120293054.lua1
Cyber Rush Fusion120278029Rush/Scripts/c120278029.lua1
Elemental HERO Voltic Wingman120277065Rush/Scripts/c120277065.lua1
...and 10 more

Script Examples ​

Hybridrive Back Fusion (120261052) ​

Source: Rush/Scripts/c120261052.lua

lua
	if RD.SelectAndSpecialSummon(cm.filter,1-tp,LOCATION_GRAVE,0,1,1,nil,e,POS_FACEDOWN_DEFENSE)~=0 then
		RD.SetFusionSummonMaterialCount(e,2,2)
		RD.CanFusionSummon(aux.Stringid(m,1),aux.FALSE,nil,cm.exfilter,LOCATION_GRAVE,0,cm.matcheck,RD.FusionToDeck,e,tp,POS_FACEUP,true)
		RD.ResetFusionSummonMaterialCount(e)
	end

Rising HERO Argent O (120304042) ​

Source: Rush/Scripts/c120304042.lua

lua
	RD.SelectAndDoAction(HINTMSG_DESTROY,nil,tp,0,LOCATION_ONFIELD,1,1,nil,function(g)
		if Duel.Destroy(g,REASON_EFFECT)~=0 then
			RD.CanFusionSummon(aux.Stringid(m,1),aux.FALSE,cm.spfilter,cm.exfilter,LOCATION_GRAVE,0,nil,RD.FusionToDeck,e,tp,POS_FACEUP_ATTACK,true)
		end
	end)

Plandolin-a-la-Mode (120264042) ​

Source: Rush/Scripts/c120264042.lua

lua
function cm.operation(e,te,tp,tc,mat,sumtype)
	if mat:IsExists(Card.IsLocation,1,nil,LOCATION_GRAVE) then
		RD.FusionToDeck(tp,mat)
	else
		RD.FusionToGrave(tp,mat)