Skip to content

Duel.SetFusionMaterial ​

Signature ​

lua
Duel.SetFusionMaterial(Group g) -> void

Description ​

Replaces the core's current Fusion Material set with the cards in g. Fusion Material procedure operations use this after selecting a legal group so the later Fusion Summon operation can read the selected materials. This function records the selection only; it does not move the materials or return a value.

Parameters ​

  • g Group

Source ​

  • D:\Programs\GitHub\ygopro-core\libduel.cpp:4990

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 5 indexed script(s).
  • Search this function in the Script Explorer with Duel.SetFusionMaterial.
CardIDScriptDetected Calls
El Shaddoll Apkallone50907446Scripts/c50907446.lua1
El Shaddoll Meshachrer32467459Scripts/c32467459.lua1
Alba System Dogmatikalamity93053159Scripts/c93053159.lua1
Dragon Master Magia12381100Scripts/c12381100.lua1
Hyperinvoked Aeon33166263Scripts/c33166263.lua1

Script Examples ​

El Shaddoll Apkallone (50907446) ​

Source: Scripts/c50907446.lua

lua
		g:Merge(sg)
	end
	Duel.SetFusionMaterial(g)
end

El Shaddoll Meshachrer (32467459) ​

Source: Scripts/c32467459.lua

lua
		fc:RemoveCounter(tp,0x16,3,REASON_EFFECT)
	end
	Duel.SetFusionMaterial(g)
end

Alba System Dogmatikalamity (93053159) ​

Source: Scripts/c93053159.lua

lua
			end
			g:Merge(sg)
			Duel.SetFusionMaterial(g)
		end
end