Skip to content

Card.GetFusionAttribute ​

Signature ​

lua
Card.GetFusionAttribute(Card c, [int player]) -> int

Description ​

Returns the Attribute c uses as Fusion Material for player, defaulting to the current reason player.

Parameters ​

  • c Card
  • player int optional - 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.
CardIDScriptDetected Calls
Lady's Dragonmaid48658295Scripts/c48658295.lua2
El Shaddoll Apkallone50907446Scripts/c50907446.lua1
Favorite HERO Flame Wingman13243124Scripts/c13243124.lua1
Gilti-Gearfried the Magical Steel Knight49161188Scripts/c49161188.lua1
Fata Dragna41763141Scripts/c41763141.lua1
Elemental HERO Sunrise22908820Scripts/c22908820.lua1
Elemental HERO Flame Wingman - Infernal Rage93347961Scripts/c93347961.lua1
Elemental HERO Thunder Giant - Voltic Thunder19222426Scripts/c19222426.lua1
Clown Crew Diabolo31533473Scripts/c31533473.lua1
Myutant Synthesis79194594Scripts/c79194594.lua1
Secret Six Samurai - Rihan33964637Scripts/c33964637.lua1
Aerial Eater28143384Scripts/c28143384.lua1
Oneiros, the Dream Mirror Erlking35187185Scripts/c35187185.lua1
Oneiros, the Dream Mirror Tormentor37678339Scripts/c37678339.lua1
Elemental HERO Cosmo Neos90050480Scripts/c90050480.lua1
Mudragon of the Swamp54757758Scripts/c54757758.lua1
Garura, Wings of Resonant Life11765832Scripts/c11765832.lua1

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)