Skip to content

RushDuel.IsCanAnnounceFusionMaterialCode ​

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

Signature ​

lua
RushDuel.IsCanAnnounceFusionMaterialCode(any card, any target) -> any

Description ​

Rush Duel helper declared in RDCondition.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.
  • 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/RDCondition.lua:184

lua
function RushDuel.IsCanAnnounceFusionMaterialCode(card, target)
    local codes = RushDuel.GetAnnouncableFusionMaterialCodes(card, target)
    return #codes > 0
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.IsCanAnnounceFusionMaterialCode.
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
end
function cm.filter(c,fc)
	return c:IsFaceup() and RD.IsCanAnnounceFusionMaterialCode(c,fc)
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)

Variable Stellariser (120277007) ​

Source: Rush/Scripts/c120277007.lua

lua
function cm.costfilter(c,e)
	return c:IsType(TYPE_FUSION) and c:IsLevel(9) and c:IsRace(RACE_GALAXY)
		and RD.IsCanAnnounceFusionMaterialCode(e:GetHandler(),c)
end
cm.cost=RD.CostShowExtra(cm.costfilter,1,1,nil,Group.GetFirst)

Accel Wonder Dark (120285005) ​

Source: Rush/Scripts/c120285005.lua

lua
function cm.costfilter(c,e)
	return c:IsType(TYPE_FUSION) and c:IsAttribute(ATTRIBUTE_DARK) and c:IsRace(RACE_SPELLCASTER)
		and RD.IsDefense(c,2100) and RD.IsCanAnnounceFusionMaterialCode(e:GetHandler(),c)
end
cm.cost=RD.CostShowExtra(cm.costfilter,1,1,nil,Group.GetFirst)