Skip to content

Duel.EquipComplete ​

Signature ​

lua
Duel.EquipComplete() -> void

Description ​

Completes a batch of step equips created with Duel.Equip(..., true) by enabling the equipped cards and raising the equip events.

How To Use It ​

Use this only after one or more Duel.Equip(..., true) step equips.

It enables the equipped cards and raises the equip events as one completed procedure:

lua
if Duel.Equip(tp,ec,tc,true,true) then
    -- more step equips can be added here
    Duel.EquipComplete()
end

Source ​

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

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 19 indexed script(s).
  • Search this function in the Script Explorer with Duel.EquipComplete.
CardIDScriptDetected Calls
Shining Draw35906693Scripts/c35906693.lua1
Power Tool Braver Dragon63265554Scripts/c63265554.lua1
Dragunity Arma Gram53184342Scripts/c53184342.lua1
Sea Lancer22842214Scripts/c22842214.lua1
Super Armored Robot Armed Black Iron "C"77754169Scripts/c77754169.lua1
Sacred Noble Knight of King Artorigus10613952Scripts/c10613952.lua1
Therion Irregular75290703Scripts/c75290703.lua1
Metalhold the Moving Blockade42237854Scripts/c42237854.lua1
Jupiter the Power Patron of Destruction68231287Scripts/c68231287.lua1
Arsenal Audit49652661Scripts/c49652661.lua1
Gold Pride - Pin Baller28497830Scripts/c28497830.lua1
Artorigus, King of the Noble Knights21223277Scripts/c21223277.lua1
Boot-Up Corporal - Command Dynamo938717Scripts/c938717.lua1
Marincess Battle Ocean91027843Scripts/c91027843.lua1
Dragunity Knight - Barcha25682811Scripts/c25682811.lua1
Phantasm Spiral Battle34302287Scripts/c34302287.lua1
Sword Hunter51345461Scripts/c51345461.lua1
Gilford the Legend69933858Scripts/c69933858.lua1
Collected Power7565547Scripts/c7565547.lua1

Script Examples ​

Shining Draw (35906693) ​

Source: Scripts/c35906693.lua

lua
		ec=sg:GetNext()
	end
	Duel.EquipComplete()
end
function c35906693.eqlimit(e,c)

Power Tool Braver Dragon (63265554) ​

Source: Scripts/c63265554.lua

lua
		tc=sg:GetNext()
	end
	Duel.EquipComplete()
end
function c63265554.pncon(e,tp,eg,ep,ev,re,r,rp)

Dragunity Arma Gram (53184342) ​

Source: Scripts/c53184342.lua

lua
			tc=sg:GetNext()
		end
		Duel.EquipComplete()
	end
end