Skip to content

Card.IsHasLevel ​

Signature ​

lua
Card.IsHasLevel(Card c) -> bool

Description ​

Checks whether c has a Level.

Parameters ​

  • c Card

Returns ​

  • bool

Source ​

  • D:\Programs\GitHub\ygopro-core\libcard.cpp:3677

Used By ​

Generated from the local Scripts/ folder and cards.cdb.

  • Detected in 2 indexed script(s).
  • Search this function in the Script Explorer with Card.IsHasLevel.
CardIDScriptDetected Calls
Returned of the Tistina24892828Scripts/c24892828.lua1
Void Expansion34822850Scripts/c34822850.lua1

Script Examples ​

Returned of the Tistina (24892828) ​

Source: Scripts/c24892828.lua

lua
end
function s.filter(c,code)
	return c:IsFaceup() and c:IsSetCard(0x1a4) and c:IsHasLevel() and not c:IsCode(code)
end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)

Void Expansion (34822850) ​

Source: Scripts/c34822850.lua

lua
function c34822850.atlimit(e,c)
	return c:IsFaceup() and c:IsSetCard(0xbb)
		and (not c:IsHasLevel() or Duel.IsExistingMatchingCard(c34822850.filter,c:GetControler(),LOCATION_MZONE,0,1,nil,c:GetLevel()))
end
function c34822850.tglimit(e,c)