Skip to content

Card.IsLevelBelow ​

Signature ​

lua
Card.IsLevelBelow(Card c, int level) -> bool

Description ​

Checks whether c has a Level greater than 0 and less than or equal to level.

Parameters ​

  • c Card
  • level int

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.
CardIDScriptDetected Calls
Lady's Dragonmaid48658295Scripts/c48658295.lua1
Accel Synchro Stardust Dragon30983281Scripts/c30983281.lua1
Favorite HERO Flame Wingman13243124Scripts/c13243124.lua1
Invoked Sorath43989315Scripts/c43989315.lua1
Lubellion the Searing Dragon70534340Scripts/c70534340.lua1
Magnet Bonding65514302Scripts/c65514302.lua1
Odd-Eyes Revolution Dragon16306932Scripts/c16306932.lua1
Albion the Branded Dragon87746184Scripts/c87746184.lua1
Rescue Hamster50485594Scripts/c50485594.lua1
Yummy★Snatchy30581601Scripts/c30581601.lua1
Frightfur Meister77522571Scripts/c77522571.lua2
Isolde, Two Tales of the Noble Knights59934749Scripts/c59934749.lua1
Ecclesia and the Dark Dragon78397661Scripts/c78397661.lua1
Mixeroid71340250Scripts/c71340250.lua1
Deep Sea Minstrel71978434Scripts/c71978434.lua1
Windwitch - Crystal Bell25793414Scripts/c25793414.lua1
Saiba the Soldier Swordsmith36608728Scripts/c36608728.lua1
Berserkion the Electromagna Warrior42901635Scripts/c42901635.lua1
Miscellaneousaurus38572779Scripts/c38572779.lua1
Horn of Olifant55749927Scripts/c55749927.lua1
Rescue Hedgehog99742859Scripts/c99742859.lua1
Abyss Actor - Mellow Madonna78310590Scripts/c78310590.lua1
Clear Wing Fast Dragon90036274Scripts/c90036274.lua1
Spirit Poacher85150300Scripts/c85150300.lua1
...and 779 more

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)