Skip to content

Duel.LinkSummon ​

Signature ​

lua
Duel.LinkSummon(int player, Card c, Group|nil materials, [Card|nil lcard], [int minc], [int maxc]) -> void

Description ​

Performs a rule Link Summon for player and c using an optional material group, fixed material, and min/max constraints. Use this in effect operations after checking Card.IsLinkSummonable. The selected Link Monster's registered procedure still controls final material selection and sends materials to the GY. The core rejects this during the Damage Step, yields while the Summon is processed, and returns no Lua value.

Parameters ​

  • player int - Player performing the Link Summon.
  • c Card - Link Monster to Link Summon.
  • materials Group|nil - Optional temporary material pool. nil uses the Link Monster's normal procedure pool.
  • lcard Card|nil optional - Optional fixed material that must be included in the selected group.
  • minc int optional - Runtime minimum material-card count. default: 0
  • maxc int optional - Runtime maximum material-card count. default: 0

Source ​

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

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 21 indexed script(s).
  • Search this function in the Script Explorer with Duel.LinkSummon.
CardIDScriptDetected Calls
W:P Fancy Ball4993187Scripts/c4993187.lua1
Trickstar Diffusion63181559Scripts/c63181559.lua1
Link into the VRAINS!28827503Scripts/c28827503.lua1
Angello Vaalmonica3048768Scripts/c3048768.lua1
Code of Soul74652966Scripts/c74652966.lua1
Yum☆Yum☆Yummys56870908Scripts/c56870908.lua1
Salamangreat Burning Shell28534130Scripts/c28534130.lua1
Unchained Soul of Rage67680512Scripts/c67680512.lua1
Tri-Brigade Revolt40975243Scripts/c40975243.lua1
Sky Striker Special Maneuver - Lemnisgate!34433770Scripts/c34433770.lua1
Purification Power Patron31822037Scripts/c31822037.lua1
Unchained Syncretism93898740Scripts/c93898740.lua1
Unchained Soul of Anguish93084621Scripts/c93084621.lua1
Unchained Soul of Disaster89019964Scripts/c89019964.lua1
Outburst Dragon87263576Scripts/c87263576.lua1
I:P Masquerena65741786Scripts/c65741786.lua1
Basiltrice, Familiar of the Evil Eye65351555Scripts/c65351555.lua1
Vaalmonica Creation98167225Scripts/c98167225.lua1
Prank-Kids Plan15447747Scripts/c15447747.lua1
Evil★Twin Challenge98360333Scripts/c98360333.lua1
World Legacy Awakens12989604Scripts/c12989604.lua1

Script Examples ​

W:P Fancy Ball (4993187) ​

Source: Scripts/c4993187.lua

lua
	local tc=g:GetFirst()
	if tc then
		Duel.LinkSummon(tp,tc,nil)
	end
end

Trickstar Diffusion (63181559) ​

Source: Scripts/c63181559.lua

lua
		local tc=g:GetFirst()
		if tc then
			Duel.LinkSummon(tp,tc,nil)
		end
	end

Source: Scripts/c28827503.lua

lua
		e4:SetOperation(c28827503.effop1)
		tc:RegisterEffect(e4,true)
		Duel.LinkSummon(tp,sc,nil,tc)
	end
end