Skip to content

Card.IsAbleToDeck ​

Signature ​

lua
Card.IsAbleToDeck(Card c) -> bool

Description ​

Checks whether c can be returned to the Deck.

Parameters ​

  • c Card

Returns ​

  • bool

Source ​

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

Used By ​

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

  • Detected in 615 indexed script(s).
  • Search this function in the Script Explorer with Card.IsAbleToDeck.
CardIDScriptDetected Calls
Salamandra with Chain62091148Scripts/c62091148.lua2
Astrograph Sorcerer, the Starfrost Magician48171151Scripts/c48171151.lua2
Lady's Dragonmaid48658295Scripts/c48658295.lua2
Spellbook of the Grand Circle11911336Scripts/c11911336.lua1
Destiny HERO - Destro-Dogma25158975Scripts/c25158975.lua1
Fiendsmith's Sequence49867899Scripts/c49867899.lua2
D/D/D Alfred the Divine Sage King11852093Scripts/c11852093.lua1
Mementotlan Fusion66518509Scripts/c66518509.lua1
Lubellion the Searing Dragon70534340Scripts/c70534340.lua2
Magnet Bonding65514302Scripts/c65514302.lua1
Odd-Eyes Revolution Dragon16306932Scripts/c16306932.lua2
PSY-Framelord Omega74586817Scripts/c74586817.lua3
Artmage Masterwork -Succession-37517035Scripts/c37517035.lua1
Odd-Eyes Arcray Dragon6218704Scripts/c6218704.lua1
Ultimate Crystal Rainbow Dragon Overdrive84544192Scripts/c84544192.lua3
GMX Associate Noma83528184Scripts/c83528184.lua5
Dracotail Shaulas42125140Scripts/c42125140.lua3
The Gaze of Timaeus22283204Scripts/c22283204.lua2
Transonic Bird34072799Scripts/c34072799.lua1
Witchcrafter Celebration6958567Scripts/c6958567.lua1
Tearlaments Scheiren572850Scripts/c572850.lua1
Gishki Nekromirror36982581Scripts/c36982581.lua2
Ojamassimilation2390019Scripts/c2390019.lua1
Ecclesia and the Dark Dragon78397661Scripts/c78397661.lua4
...and 591 more

Script Examples ​

Salamandra with Chain (62091148) ​

Source: Scripts/c62091148.lua

lua
end
function s.filter0(c)
	return c:IsType(TYPE_MONSTER) and c:IsAbleToDeck()
end
function s.filter1(c,e)

Astrograph Sorcerer, the Starfrost Magician (48171151) ​

Source: Scripts/c48171151.lua

lua
end
function s.filter0(c,e)
	return c:IsLocation(LOCATION_MZONE) and c:IsType(TYPE_MONSTER) and c:IsCanBeFusionMaterial() and c:IsAbleToDeck() and not c:IsImmuneToEffect(e)
end
function s.filter1(c,e)

Lady's Dragonmaid (48658295) ​

Source: Scripts/c48658295.lua

lua
end
function s.filter0(c,e)
	return c:IsLocation(LOCATION_MZONE) and c:IsType(TYPE_MONSTER) and c:IsCanBeFusionMaterial() and c:IsAbleToDeck() and not c:IsImmuneToEffect(e)
end
function s.filter1(c,e)