Card.IsFacedown
Signature
lua
Card.IsFacedown(Card c) -> boolDescription
Checks whether c is in face-down position.
Parameters
cCard
Returns
bool
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3658
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 992 indexed script(s).
- Search this function in the Script Explorer with
Card.IsFacedown.
Script Examples
Salamandra with Chain (62091148)
Source: Scripts/c62091148.lua
lua
end
function s.fdfilter(c)
return c:IsLocation(LOCATION_MZONE) and c:IsFacedown() or c:IsLocation(LOCATION_HAND)
end
function s.gdfilter(c)Astrograph Sorcerer, the Starfrost Magician (48171151)
Source: Scripts/c48171151.lua
lua
local mat=Duel.SelectFusionMaterial(tp,tc,mg1,nil,chkf)
tc:SetMaterial(mat)
if mat:IsExists(Card.IsFacedown,1,nil) then
local cg=mat:Filter(Card.IsFacedown,nil)
Duel.ConfirmCards(1-tp,cg)Levia-Dragoon - Daedalus (78579058)
Source: Scripts/c78579058.lua
lua
end
function s.LExtraFilter(c,f,lc,tp)
if c:IsOnField() and c:IsFacedown() then return false end
if not c:IsCanBeLinkMaterial(lc) or f and not f(c) then return false end
local le={c:IsHasEffect(EFFECT_EXTRA_LINK_MATERIAL,tp)}