RushDuel.SetFusionMaterial
Alias: RD.SetFusionMaterial. Requires the matching Rush Duel Lua bootstrap.
Signature
lua
RushDuel.SetFusionMaterial(any card, any codes, any min, any max) -> anyDescription
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
cardany: Type and behavior are not yet reviewed; see the source.codesany: Type and behavior are not yet reviewed; see the source.minany: Type and behavior are not yet reviewed; see the source.maxany: 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)
endUsed 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.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| YXZ-Cannon Dragon | 120305004 | Rush/Scripts/c120305004.lua | 1 |
| Harpie Lady Feather Duster | 120279002 | Rush/Scripts/c120279002.lua | 1 |
| Tamabot King Golem | 120285039 | Rush/Scripts/c120285039.lua | 1 |
| XYZ-Dragon Cannon | 120305003 | Rush/Scripts/c120305003.lua | 1 |
| Deep Space Yggdrago | 120260007 | Rush/Scripts/c120260007.lua | 1 |
| Blue-Eyes Ultimate Dragon | 120252001 | Rush/Scripts/c120252001.lua | 1 |
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)