Card.IsCanBeFusionMaterial
Signature
lua
Card.IsCanBeFusionMaterial(Card c, [Card|nil fc], [int summon_type]) -> boolDescription
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
cCardfcCard|niloptionalsummon_typeintoptional - 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.
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)