Card.IsLevelBelow
Signature
lua
Card.IsLevelBelow(Card c, int level) -> boolDescription
Checks whether c has a Level greater than 0 and less than or equal to level.
Parameters
cCardlevelint
Returns
bool
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3667
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 803 indexed script(s).
- Search this function in the Script Explorer with
Card.IsLevelBelow.
Script Examples
Lady's Dragonmaid (48658295)
Source: Scripts/c48658295.lua
lua
end
function s.spfilter(c,e,tp)
return c:IsSetCard(0x133) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsLevelBelow(4)
end
function s.sptg1(e,tp,eg,ep,ev,re,r,rp,chk)Accel Synchro Stardust Dragon (30983281)
Source: Scripts/c30983281.lua
lua
end
function c30983281.spfilter(c,e,tp)
return c:IsLevelBelow(2) and c:IsType(TYPE_TUNER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function c30983281.sptg(e,tp,eg,ep,ev,re,r,rp,chk)Favorite HERO Flame Wingman (13243124)
Source: Scripts/c13243124.lua
lua
end
function s.spfilter(c,e,tp)
return c:IsLevelBelow(4) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE)
end
function s.atkop(e,tp,eg,ep,ev,re,r,rp)