Card.IsForbidden
Signature
lua
Card.IsForbidden(Card c) -> boolDescription
Checks whether c currently has STATUS_FORBIDDEN.
Parameters
cCard
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.
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)))
endD/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)