Card.GetFusionAttribute
Signature
lua
Card.GetFusionAttribute(Card c, [int player]) -> intDescription
Returns the Attribute c uses as Fusion Material for player, defaulting to the current reason player.
Parameters
cCardplayerintoptional - default: current reason player
Returns
int
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3484
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 17 indexed script(s).
- Search this function in the Script Explorer with
Card.GetFusionAttribute.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Lady's Dragonmaid | 48658295 | Scripts/c48658295.lua | 2 |
| El Shaddoll Apkallone | 50907446 | Scripts/c50907446.lua | 1 |
| Favorite HERO Flame Wingman | 13243124 | Scripts/c13243124.lua | 1 |
| Gilti-Gearfried the Magical Steel Knight | 49161188 | Scripts/c49161188.lua | 1 |
| Fata Dragna | 41763141 | Scripts/c41763141.lua | 1 |
| Elemental HERO Sunrise | 22908820 | Scripts/c22908820.lua | 1 |
| Elemental HERO Flame Wingman - Infernal Rage | 93347961 | Scripts/c93347961.lua | 1 |
| Elemental HERO Thunder Giant - Voltic Thunder | 19222426 | Scripts/c19222426.lua | 1 |
| Clown Crew Diabolo | 31533473 | Scripts/c31533473.lua | 1 |
| Myutant Synthesis | 79194594 | Scripts/c79194594.lua | 1 |
| Secret Six Samurai - Rihan | 33964637 | Scripts/c33964637.lua | 1 |
| Aerial Eater | 28143384 | Scripts/c28143384.lua | 1 |
| Oneiros, the Dream Mirror Erlking | 35187185 | Scripts/c35187185.lua | 1 |
| Oneiros, the Dream Mirror Tormentor | 37678339 | Scripts/c37678339.lua | 1 |
| Elemental HERO Cosmo Neos | 90050480 | Scripts/c90050480.lua | 1 |
| Mudragon of the Swamp | 54757758 | Scripts/c54757758.lua | 1 |
| Garura, Wings of Resonant Life | 11765832 | Scripts/c11765832.lua | 1 |
Script Examples
Lady's Dragonmaid (48658295)
Source: Scripts/c48658295.lua
lua
if not sg then return true end
return not sg:IsExists(Card.IsLevel,1,c,c:GetLevel())
and sg:IsExists(Card.IsFusionAttribute,1,c,c:GetFusionAttribute())
end
function s.splimit(e,se,sp,st)El Shaddoll Apkallone (50907446)
Source: Scripts/c50907446.lua
lua
end
function c50907446.FShaddollFilter1(c,g)
return c:IsFusionSetCard(0x9d) and g:IsExists(c50907446.FShaddollFilter2,1,c) and not g:IsExists(Card.IsFusionAttribute,1,c,c:GetFusionAttribute())
end
function c50907446.FShaddollFilter2(c)Favorite HERO Flame Wingman (13243124)
Source: Scripts/c13243124.lua
lua
return not sg or sg:FilterCount(aux.TRUE,c)==0
or (sg:IsExists(Card.IsRace,1,c,c:GetRace())
and not sg:IsExists(Card.IsFusionAttribute,1,c,c:GetFusionAttribute()))
end
function s.atkcon(e,tp,eg,ep,ev,re,r,rp)