Card.IsLevelAbove
Signature
lua
Card.IsLevelAbove(Card c, int level) -> boolDescription
Checks whether c has a Level greater than 0 and greater than or equal to level.
Parameters
cCardlevelint
Returns
bool
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3668
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 773 indexed script(s).
- Search this function in the Script Explorer with
Card.IsLevelAbove.
Script Examples
Artmage Non-Finito (74631897)
Source: Scripts/c74631897.lua
lua
end
function s.spfilter(c,tp,sc)
return c:IsFusionSetCard(0x1cd) and c:IsLevelAbove(7)
and (c:IsControler(tp) or c:IsFaceup())
and Duel.GetLocationCountFromEx(tp,tp,c,sc)>0Ehther the Heavenly Monarch (96570609)
Source: Scripts/c96570609.lua
lua
if c==nil then return true end
local mg=Duel.GetMatchingGroup(c96570609.otfilter,0,LOCATION_MZONE,LOCATION_MZONE,nil)
return c:IsLevelAbove(7) and minc<=1 and Duel.CheckTribute(c,1,1,mg)
end
function c96570609.otop(e,tp,eg,ep,ev,re,r,rp,c)Spirit Illusion (71939275)
Source: Scripts/c71939275.lua
lua
s.fusion_effect=true
function s.eqlimit(e,c)
return c:IsLevelAbove(5) and c:IsRace(RACE_FIEND+RACE_ZOMBIE)
end
function s.filter(c)