Skip to content

RushDuel.CanFusionSummon ​

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

Signature ​

lua
RushDuel.CanFusionSummon(any desc, any matfilter, any spfilter, any exfilter, any s_range, any o_range, any mat_check, any mat_move, any e, any tp, any pos, any break_effect, any including_self, any self_leave) -> 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 ​

  • desc any: Type and behavior are not yet reviewed; see the source.
  • matfilter any: Type and behavior are not yet reviewed; see the source.
  • spfilter any: Type and behavior are not yet reviewed; see the source.
  • exfilter any: Type and behavior are not yet reviewed; see the source.
  • s_range any: Type and behavior are not yet reviewed; see the source.
  • o_range any: Type and behavior are not yet reviewed; see the source.
  • mat_check any: Type and behavior are not yet reviewed; see the source.
  • mat_move any: Type and behavior are not yet reviewed; see the source.
  • e any: Type and behavior are not yet reviewed; see the source.
  • tp any: Type and behavior are not yet reviewed; see the source.
  • pos any: Type and behavior are not yet reviewed; see the source.
  • break_effect any: Type and behavior are not yet reviewed; see the source.
  • including_self any: Type and behavior are not yet reviewed; see the source.
  • self_leave 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:587

lua
function RushDuel.CanFusionSummon(desc, matfilter, spfilter, exfilter, s_range, o_range, mat_check, mat_move, e, tp, pos, break_effect, including_self, self_leave)
    local include = including_self or false
    local leave = self_leave or false
    RushDuel.FusionExtraChecker = RushDuel.FusionCheckLocation(e, self_leave, mat_check)
    local fusionable, list, chkf, gc = RushDuel.GetFusionSummonData(e, tp, pos, matfilter, spfilter, exfilter, s_range, o_range, include, leave, nil, e)
    local fc = nil
    ::cancel::
    if fusionable and Duel.SelectYesNo(tp, desc) then
        if break_effect then
            Duel.BreakEffect()
        end
        fc = RushDuel.ExecuteFusionSummon(e, tp, pos, list, chkf, gc, mat_move, true)
        if not fc then
            goto cancel
        end
    end
    RushDuel.FusionExtraChecker = nil
    return fc
end

Used By ​

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

  • Detected in 32 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.CanFusionSummon.
CardIDScriptDetected Calls
Hybridrive Back Fusion120261052Rush/Scripts/c120261052.lua1
Handy Girl120290012Rush/Scripts/c120290012.lua1
Rising HERO Argent O120304042Rush/Scripts/c120304042.lua1
Jointech Joint120257058Rush/Scripts/c120257058.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
Prime Dwarf120257001Rush/Scripts/c120257001.lua1
The Draco120294002Rush/Scripts/c120294002.lua1
Power Meter120294054Rush/Scripts/c120294054.lua1
Slay the Star Protector's Gunslinger120306010Rush/Scripts/c120306010.lua1
Ancient Gear Hunting Hound120283048Rush/Scripts/c120283048.lua1
OuTerverSe Rainpale120290004Rush/Scripts/c120290004.lua1
Fist the Star Protector's Roaring Gauntlet120306011Rush/Scripts/c120306011.lua1
Pupating Larvae Moth120298033Rush/Scripts/c120298033.lua1
Y-Trial Dragon120305009Rush/Scripts/c120305009.lua1
Z-Trial Tank120305010Rush/Scripts/c120305010.lua1
Pulsating Cocoon of Evolution120298036Rush/Scripts/c120298036.lua1
Magnet Speeder120285024Rush/Scripts/c120285024.lua1
Transam Nebula Fusion120272048Rush/Scripts/c120272048.lua1
Skullcrag Incursion120298015Rush/Scripts/c120298015.lua1
Towline Cattle Healer120290026Rush/Scripts/c120290026.lua1
...and 8 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

Handy Girl (120290012) ​

Source: Rush/Scripts/c120290012.lua

lua
		if not Duel.IsExistingMatchingCard(cm.exfilter,tp,LOCATION_MZONE,0,1,nil) then
			RD.SetFusionSummonMaterialCount(e,2,2)
			RD.CanFusionSummon(aux.Stringid(m,1),cm.matfilter,nil,nil,0,0,nil,RD.FusionToGrave,e,tp,POS_FACEUP)
			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)