Skip to content

Card.IsCanBeFusionMaterial ​

Signature ​

lua
Card.IsCanBeFusionMaterial(Card c, [Card|nil fc], [int summon_type]) -> bool

Description ​

Checks whether c can be used as Fusion Material for fc and summon_type. fc is optional and summon_type defaults to SUMMON_TYPE_FUSION. The binding has no ignore_mon argument; it delegates to the core Fusion Material legality checks.

Parameters ​

  • c Card
  • fc Card|nil optional
  • summon_type int optional - default: SUMMON_TYPE_FUSION

Returns ​

  • bool

Source ​

  • D:\Programs\GitHub\ygopro-core\libcard.cpp:3694

Guided Examples ​

Learn how to use this function in context:

Used By ​

Generated from the local Scripts/ folder and cards.cdb.

  • Detected in 138 indexed script(s).
  • Search this function in the Script Explorer with Card.IsCanBeFusionMaterial.
CardIDScriptDetected Calls
Astrograph Sorcerer, the Starfrost Magician48171151Scripts/c48171151.lua2
Artmage Non-Finito74631897Scripts/c74631897.lua1
Lady's Dragonmaid48658295Scripts/c48658295.lua2
Eternal Favorite87532344Scripts/c87532344.lua2
Spellbook of the Grand Circle11911336Scripts/c11911336.lua1
Yomagna the Fire Phantom17350692Scripts/c17350692.lua1
D/D/D Alfred the Divine Sage King11852093Scripts/c11852093.lua1
El Shaddoll Apkallone50907446Scripts/c50907446.lua1
Mementotlan Fusion66518509Scripts/c66518509.lua1
Mixousia the Confounder80843006Scripts/c80843006.lua1
Gem-Knight Dispersion24220368Scripts/c24220368.lua1
Invoked Sorath43989315Scripts/c43989315.lua1
Lubellion the Searing Dragon70534340Scripts/c70534340.lua2
Destratification Dino Stratiae3841104Scripts/c3841104.lua1
Hecahands Tartaros57809669Scripts/c57809669.lua1
Tohushaddoll Grysta95072744Scripts/c95072744.lua1
GMX 55th Experiment Report38984832Scripts/c38984832.lua1
Teleport Fusion36494597Scripts/c36494597.lua1
Future Fusion Nova92058902Scripts/c92058902.lua1
Odd-Eyes Arcray Dragon6218704Scripts/c6218704.lua1
GMX Associate Noma83528184Scripts/c83528184.lua1
Albion the Branded Dragon87746184Scripts/c87746184.lua1
Ashened to Endlessness34813443Scripts/c34813443.lua2
The Gaze of Timaeus22283204Scripts/c22283204.lua1
...and 114 more

Script Examples ​

Astrograph Sorcerer, the Starfrost Magician (48171151) ​

Source: Scripts/c48171151.lua

lua
end
function s.filter0(c,e)
	return c:IsLocation(LOCATION_MZONE) and c:IsType(TYPE_MONSTER) and c:IsCanBeFusionMaterial() and c:IsAbleToDeck() and not c:IsImmuneToEffect(e)
end
function s.filter1(c,e)

Artmage Non-Finito (74631897) ​

Source: Scripts/c74631897.lua

lua
		and (c:IsControler(tp) or c:IsFaceup())
		and Duel.GetLocationCountFromEx(tp,tp,c,sc)>0
		and c:IsCanBeFusionMaterial(sc,SUMMON_TYPE_SPECIAL)
end
function s.cfilter(c)

Lady's Dragonmaid (48658295) ​

Source: Scripts/c48658295.lua

lua
end
function s.filter0(c,e)
	return c:IsLocation(LOCATION_MZONE) and c:IsType(TYPE_MONSTER) and c:IsCanBeFusionMaterial() and c:IsAbleToDeck() and not c:IsImmuneToEffect(e)
end
function s.filter1(c,e)