Card.IsPublic
Signature
lua
Card.IsPublic(Card c) -> boolDescription
Checks whether c is currently public to both players, represented by face-up position in this core.
Parameters
cCard
Returns
bool
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3679
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 239 indexed script(s).
- Search this function in the Script Explorer with
Card.IsPublic.
Script Examples
Deftero Enneacraft - "alazoneIA" (92171126)
Source: Scripts/c92171126.lua
lua
end
function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return not e:GetHandler():IsPublic()
and Duel.GetCustomActivityCount(id,tp,ACTIVITY_SPSUMMON)==0 end
local e1=Effect.CreateEffect(e:GetHandler())Meteoroa Drytron (24166324)
Source: Scripts/c24166324.lua
lua
end
function s.costfilter(c)
return c:IsCode(22398665) and not c:IsPublic()
end
function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)Enneacraft - Asta.PIXEA (28454232)
Source: Scripts/c28454232.lua
lua
end
function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return not e:GetHandler():IsPublic()
and Duel.GetCustomActivityCount(id,tp,ACTIVITY_SPSUMMON)==0 end
local e1=Effect.CreateEffect(e:GetHandler())