Card.IsImmuneToEffect
Signature
lua
Card.IsImmuneToEffect(Card c, Effect e) -> boolDescription
Checks whether c is unaffected by effect e.
Parameters
cCardeEffect
Returns
bool
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3701
Guided Examples
Learn how to use this function in context:
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 620 indexed script(s).
- Search this function in the Script Explorer with
Card.IsImmuneToEffect.
Script Examples
Salamandra with Chain (62091148)
Source: Scripts/c62091148.lua
lua
end
function s.filter1(c,e)
return c:IsType(TYPE_MONSTER) and not c:IsImmuneToEffect(e) and c:IsAbleToDeck()
end
function s.filter2(c,e,tp,m,f,chkf)Astrograph Sorcerer, the Starfrost Magician (48171151)
Source: Scripts/c48171151.lua
lua
end
function s.filter0(c,e)
return c:IsLocation(LOCATION_MZONE) and c:IsType(TYPE_MONSTER) and c:IsCanBeFusionMaterial() and c:IsAbleToDeck() and not c:IsImmuneToEffect(e)
end
function s.filter1(c,e)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)