Card.GetLevel
Signature
lua
Card.GetLevel(Card c) -> intDescription
Returns c's current Level.
Parameters
cCard
Returns
int
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3456
Guided Examples
Learn how to use this function in context:
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 565 indexed script(s).
- Search this function in the Script Explorer with
Card.GetLevel.
Script Examples
Lady's Dragonmaid (48658295)
Source: Scripts/c48658295.lua
lua
if not c:IsFusionSetCard(0x133) then return false end
if not sg then return true end
return not sg:IsExists(Card.IsLevel,1,c,c:GetLevel())
and sg:IsExists(Card.IsFusionAttribute,1,c,c:GetFusionAttribute())
endSurprise Fusion (35167375)
Source: Scripts/c35167375.lua
lua
return c:IsType(TYPE_FUSION) and c:IsReleasableByEffect() and (not chk
or (Duel.GetMZoneCount(tp,c)>1 and not Duel.IsPlayerAffectedByEffect(tp,59822133)
and Duel.IsPlayerCanSpecialSummonMonster(tp,id+o,0,TYPES_TOKEN_MONSTER,0,0,c:GetLevel(),RACE_SPELLCASTER,ATTRIBUTE_DARK)))
end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)Pere-Zenet Em Heru (46273941)
Source: Scripts/c46273941.lua
lua
m=m:Filter(c.mat_filter,nil,tp)
end
local lv=c:GetLevel()
aux.GCheckAdditional=s.gcheckf(c,lv)
local res=m:CheckSubGroup(s.RitualCheckGreater,1,lv,c,lv,tp)