Skip to content

RushDuel.SetFusionMaterial ​

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

Signature ​

lua
RushDuel.SetFusionMaterial(any card, any codes, any min, any max) -> 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 ​

  • card any: Type and behavior are not yet reviewed; see the source.
  • codes 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.

Returns ​

  • any: Return contract has not been reviewed; inspect the source below.

Source ​

Rush/Utilities/RDFusion.lua:128

lua
function RushDuel.SetFusionMaterial(card, codes, min, max)
    if card:IsStatus(STATUS_COPYING_EFFECT) then
        return
    end
    RushDuel.SetFusionMaterialData(card, codes, min, max)
end

Used By ​

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

  • Detected in 6 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.SetFusionMaterial.
CardIDScriptDetected Calls
YXZ-Cannon Dragon120305004Rush/Scripts/c120305004.lua1
Harpie Lady Feather Duster120279002Rush/Scripts/c120279002.lua1
Tamabot King Golem120285039Rush/Scripts/c120285039.lua1
XYZ-Dragon Cannon120305003Rush/Scripts/c120305003.lua1
Deep Space Yggdrago120260007Rush/Scripts/c120260007.lua1
Blue-Eyes Ultimate Dragon120252001Rush/Scripts/c120252001.lua1

Script Examples ​

YXZ-Cannon Dragon (120305004) ​

Source: Rush/Scripts/c120305004.lua

lua
	--Fusion Material
	RD.AddFusionProcedureSP(c,true,true,cm.matfilter,cm.check,2,3)
	RD.SetFusionMaterial(c,{list[1],list[2],list[3]},3,3)
	--Union Fusion
	RD.EnableUnionFusion(c,aux.Stringid(m,0))

Harpie Lady Feather Duster (120279002) ​

Source: Rush/Scripts/c120279002.lua

lua
	--Fusion Material
	RD.AddFusionProcedure(c,cm.matfilter1,cm.matfilter2)
	RD.SetFusionMaterial(c,{list[1]},2,2)
	--Contact Fusion
	RD.EnableContactFusion(c,aux.Stringid(m,0))

Tamabot King Golem (120285039) ​

Source: Rush/Scripts/c120285039.lua

lua
	--Fusion Material
	RD.AddFusionProcedureSP(c,true,true,cm.matfilter,cm.check,2,3)
	RD.SetFusionMaterial(c,{list[1]},3,3)
	--Indes
	local e1=Effect.CreateEffect(c)