Skip to content

RushDuel.AnnounceFusionMaterialCode ​

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

Signature ​

lua
RushDuel.AnnounceFusionMaterialCode(any player, any card, any target) -> 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 ​

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

lua
function RushDuel.AnnounceFusionMaterialCode(player, card, target)
    local codes = RushDuel.GetAnnouncableFusionMaterialCodes(card, target)
    if #codes > 0 then
        return RushDuel.AnnounceCodes(player, codes)
    else
        return nil
    end
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.AnnounceFusionMaterialCode.
CardIDScriptDetected Calls
The Noodle Art of Flavor Shift120300053Rush/Scripts/c120300053.lua1
Variable Stellariser120277007Rush/Scripts/c120277007.lua1
Accel Wonder Dark120285005Rush/Scripts/c120285005.lua1
Rare Dragorite120294008Rush/Scripts/c120294008.lua1
Phantasm Maskmaster120271028Rush/Scripts/c120271028.lua1
Elemental HERO Prisma120272065Rush/Scripts/c120272065.lua1

Script Examples ​

The Noodle Art of Flavor Shift (120300053) ​

Source: Rush/Scripts/c120300053.lua

lua
		ec=mg:GetFirst()
	end
	local ac=RD.AnnounceFusionMaterialCode(tp,ec,tc)
	Duel.SetTargetParam(ac)
	Duel.SetOperationInfo(0,CATEGORY_ANNOUNCE,nil,0,tp,0)

Variable Stellariser (120277007) ​

Source: Rush/Scripts/c120277007.lua

lua
	if chk==0 then return true end
	local tc=e:GetLabelObject()
	local ac=RD.AnnounceFusionMaterialCode(tp,e:GetHandler(),tc)
	Duel.SetTargetParam(ac)
	Duel.SetOperationInfo(0,CATEGORY_ANNOUNCE,nil,0,tp,0)

Accel Wonder Dark (120285005) ​

Source: Rush/Scripts/c120285005.lua

lua
	if chk==0 then return true end
	local tc=e:GetLabelObject()
	local ac=RD.AnnounceFusionMaterialCode(tp,e:GetHandler(),tc)
	Duel.SetTargetParam(ac)
	Duel.SetOperationInfo(0,CATEGORY_ANNOUNCE,nil,0,tp,0)