Card.IsOnField
Signature
lua
Card.IsOnField(Card c) -> boolDescription
Checks whether c is currently on the field and is not being treated as off the field.
Parameters
cCard
Returns
bool
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3664
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 1124 indexed script(s).
- Search this function in the Script Explorer with
Card.IsOnField.
Script Examples
Artmage Non-Finito (74631897)
Source: Scripts/c74631897.lua
lua
end
function s.filter1(c,e)
return not c:IsImmuneToEffect(e) and c:IsOnField()
end
function s.filter2(c,e,tp,m,f,chkf)Levia-Dragoon - Daedalus (78579058)
Source: Scripts/c78579058.lua
lua
end
function s.LConditionFilter(c,f,lc,e)
return (c:IsFaceup() or not c:IsOnField() or e:IsHasProperty(EFFECT_FLAG_SET_AVAILABLE))
and c:IsCanBeLinkMaterial(lc) and (not f or f(c))
endAzure Ocean Dragon Lord - Neo-Daedalus Rage (41570943)
Source: Scripts/c41570943.lua
lua
end
function s.LConditionFilter(c,f,lc,e)
return (c:IsFaceup() or not c:IsOnField() or e:IsHasProperty(EFFECT_FLAG_SET_AVAILABLE))
and c:IsCanBeLinkMaterial(lc) and (not f or f(c))
end