Skip to content

Card.IsForbidden ​

Signature ​

lua
Card.IsForbidden(Card c) -> bool

Description ​

Checks whether c currently has STATUS_FORBIDDEN.

Parameters ​

  • c Card

Returns ​

  • bool

Source ​

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

Used By ​

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

  • Detected in 277 indexed script(s).
  • Search this function in the Script Explorer with Card.IsForbidden.
CardIDScriptDetected Calls
Astrograph Sorcerer, the Starfrost Magician48171151Scripts/c48171151.lua1
Astrograph Sorcerer76794549Scripts/c76794549.lua1
D/D/D Alfred the Divine Sage King11852093Scripts/c11852093.lua1
Pere-Zenet Em Heru46273941Scripts/c46273941.lua1
Am Duazenet45151304Scripts/c45151304.lua1
Shining Draw35906693Scripts/c35906693.lua1
Plunder Patroll Shipshape Ships Shipping44227727Scripts/c44227727.lua1
Odd-Eyes Arcray Dragon6218704Scripts/c6218704.lua1
Chronograph Sorcerer12289247Scripts/c12289247.lua1
Radiant Typhoon Varuroon, the Marine Eidolon39341885Scripts/c39341885.lua3
Camelot, Realm of Noble Knights and Noble Arms15635751Scripts/c15635751.lua1
Yummy★Snatchy30581601Scripts/c30581601.lua1
Aroma Blend25861589Scripts/c25861589.lua1
Red-Eyes Slash Dragon21140872Scripts/c21140872.lua1
Plunder Patrollship Jord85969517Scripts/c85969517.lua2
Power Tool Braver Dragon63265554Scripts/c63265554.lua1
Amazement Administrator Arlekino94821366Scripts/c94821366.lua1
DoomZ XII Zero - Drastea92472273Scripts/c92472273.lua1
Seven Stars Slash - Army Annihilator Hagun65114115Scripts/c65114115.lua1
Zoroa, the Magistus Verethragna37260677Scripts/c37260677.lua1
D/D/D Deviser King Deus Machinex46593546Scripts/c46593546.lua1
Emperor Charles the Great97864322Scripts/c97864322.lua2
Inzektor Picofalena97273514Scripts/c97273514.lua1
Dreaming Nemleria70155677Scripts/c70155677.lua1
...and 253 more

Script Examples ​

Astrograph Sorcerer, the Starfrost Magician (48171151) ​

Source: Scripts/c48171151.lua

lua
function s.pfilter(c,tp)
	return c:IsType(TYPE_PENDULUM) and not c:IsCode(id) and c:GetLeftScale()==1
		and not c:IsForbidden() and c:CheckUniqueOnField(tp)
end
function s.ptg(e,tp,eg,ep,ev,re,r,rp,chk)

Astrograph Sorcerer (76794549) ​

Source: Scripts/c76794549.lua

lua
end
function c76794549.rpfilter(c,e,tp)
	return c:IsCode(94415058) and (not c:IsForbidden()
		or (Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false)))
end

D/D/D Alfred the Divine Sage King (11852093) ​

Source: Scripts/c11852093.lua

lua
end
function s.tffilter(c,tp)
	return c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsType(TYPE_CONTINUOUS) and c:IsSetCard(0xae) and c:IsFaceupEx() and not c:IsForbidden() and c:CheckUniqueOnField(tp)
end
function s.mfilter(c)