Skip to content

Card.GetEquipCount ​

Signature ​

lua
Card.GetEquipCount(Card c) -> int

Description ​

Returns the number of Equip Cards currently equipped to c.

Parameters ​

  • c Card

Returns ​

  • int

Source ​

  • D:\Programs\GitHub\ygopro-core\libcard.cpp:3573

Used By ​

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

  • Detected in 33 indexed script(s).
  • Search this function in the Script Explorer with Card.GetEquipCount.
CardIDScriptDetected Calls
Emperor Charles the Great97864322Scripts/c97864322.lua1
Tauzenet Wadjet73490148Scripts/c73490148.lua1
D - Burst47471667Scripts/c47471667.lua1
Zenet-Nakhte Sphinx47095439Scripts/c47095439.lua1
Full Armored Dark Knight Lancer67630394Scripts/c67630394.lua1
Cyberdark Inferno44352516Scripts/c44352516.lua1
Zaralaam the Dark Palace64230128Scripts/c64230128.lua1
Jupiter the Power Patron of Destruction68231287Scripts/c68231287.lua1
Zenetmes Nekhbet10884847Scripts/c10884847.lua1
Forest of Lost Flowers91228233Scripts/c91228233.lua1
Thunder Discharge27623932Scripts/c27623932.lua1
Yellow Dragon Ninja90247311Scripts/c90247311.lua2
Infernoble Knight Turpin89809665Scripts/c89809665.lua1
DMZ Dragon98371278Scripts/c98371278.lua1
Ultimate Great Insect87804747Scripts/c87804747.lua1
Fateful Adventure39568067Scripts/c39568067.lua1
Cocoon of Ultra Evolution77840540Scripts/c77840540.lua1
Fire Lake of the Burning Abyss36006208Scripts/c36006208.lua3
Angelica's Angelic Ring40678060Scripts/c40678060.lua2
Maha Vailo, Light of the Heavens45796834Scripts/c45796834.lua2
Heavenly Gate of the Mikanko17255673Scripts/c17255673.lua2
Dark Highlander75326861Scripts/c75326861.lua1
Soul Devouring Bamboo Sword51670553Scripts/c51670553.lua1
Trismagistus61159609Scripts/c61159609.lua1
...and 9 more

Script Examples ​

Emperor Charles the Great (97864322) ​

Source: Scripts/c97864322.lua

lua
end
function s.matfilter(c)
	return c:IsLevel(9) and c:IsLinkCode(77656797) and c:GetEquipCount()>0
end
function s.copycon(e)

Tauzenet Wadjet (73490148) ​

Source: Scripts/c73490148.lua

lua
function s.eqcon(e)
	local c=e:GetHandler()
	return c:GetEquipCount()>0
end
function s.cfilter(c)

D - Burst (47471667) ​

Source: Scripts/c47471667.lua

lua
function s.atkcon(e,tp,eg,ep,ev,re,r,rp)
	local at=Duel.GetAttacker()
	return (at:GetEquipCount()>0 or at:IsCode(17132130)) and at:IsChainAttackable()
end
function s.atktg(e,tp,eg,ep,ev,re,r,rp,chk)