Skip to content

Card.IsPublic ​

Signature ​

lua
Card.IsPublic(Card c) -> bool

Description ​

Checks whether c is currently public to both players, represented by face-up position in this core.

Parameters ​

  • c Card

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.
CardIDScriptDetected Calls
Deftero Enneacraft - "alazoneIA"92171126Scripts/c92171126.lua2
Meteoroa Drytron24166324Scripts/c24166324.lua1
Enneacraft - Asta.PIXEA28454232Scripts/c28454232.lua2
Enneacraft - Archa.TAIL81237046Scripts/c81237046.lua2
Enneacraft - Atil.SPIA71801447Scripts/c71801447.lua2
Enneacraft - Aiza.LEON82359538Scripts/c82359538.lua2
Dracotail Shaulas42125140Scripts/c42125140.lua3
Transonic Bird34072799Scripts/c34072799.lua1
Jupredo the Shademachine Power Patron43871165Scripts/c43871165.lua2
Enneacraft - Atori.MAR54842941Scripts/c54842941.lua2
Koa'ki Meiru Rooklord10060427Scripts/c10060427.lua1
Purrely25550531Scripts/c25550531.lua1
Dracotail Arthalion33760966Scripts/c33760966.lua3
R.B. Lambda Cannon81794107Scripts/c81794107.lua1
Astrazma Urania18738846Scripts/c18738846.lua1
Vanquish Soul Caesar Valius91073013Scripts/c91073013.lua2
Shimmering Shatterer of the Sacred Beasts3441553Scripts/c3441553.lua1
The Continuing Epic of Charles11802691Scripts/c11802691.lua1
Dracotail Gulamel79755671Scripts/c79755671.lua3
Phara the Primordial Goddess82344137Scripts/c82344137.lua2
Ekto Enneacraft - "tromarIA"29570824Scripts/c29570824.lua2
Enato Enneacraft - "oknirIA"55965529Scripts/c55965529.lua2
Gunkan Suship Shari Red63748694Scripts/c63748694.lua1
Melffy Staring Contest76981308Scripts/c76981308.lua2
...and 215 more

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())