Skip to content

Card.IsTuner ​

Signature ​

lua
Card.IsTuner(Card c, Card scard) -> bool

Description ​

Checks whether c is a Tuner monster for scard. Besides TYPE_TUNER, this also checks effects that can make c be treated as a Tuner.

Parameters ​

  • c Card
  • scard Card

Returns ​

  • bool

Source ​

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

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 15 indexed script(s).
  • Search this function in the Script Explorer with Card.IsTuner.
CardIDScriptDetected Calls
Nirvana High Paladin80896940Scripts/c80896940.lua1
Cupid Pitch21915012Scripts/c21915012.lua1
Red Hypernova Dragon30698243Scripts/c30698243.lua1
Majestic Star Dragon7841112Scripts/c7841112.lua2
Crystal Clear Wing Over Synchro Dragon84343351Scripts/c84343351.lua1
Chaos Angel22850702Scripts/c22850702.lua1
Lollipo★Yummy Way93192592Scripts/c93192592.lua1
Ghoti of the Deep Beyond72309040Scripts/c72309040.lua1
Majestic Red Dragon67030233Scripts/c67030233.lua2
Cupsy★Yummy Way31603289Scripts/c31603289.lua1
Cooky★Yummy Way67098897Scripts/c67098897.lua1
Junora the Power Patron of Tuning5914858Scripts/c5914858.lua1
Vagnawa the Moon-Eating Dragon9839115Scripts/c9839115.lua1
Ib the World Chalice Justiciar94677445Scripts/c94677445.lua1
Cyber Slash Harpie Lady63261835Scripts/c63261835.lua1

Script Examples ​

Nirvana High Paladin (80896940) ​

Source: Scripts/c80896940.lua

lua
c80896940.material_type=TYPE_SYNCHRO
function c80896940.matfilter1(c,syncard)
	return c:IsTuner(syncard) or (c:IsType(TYPE_PENDULUM) and c:IsSummonType(SUMMON_TYPE_PENDULUM))
end
function c80896940.indcon(e,tp,eg,ep,ev,re,r,rp)

Cupid Pitch (21915012) ​

Source: Scripts/c21915012.lua

lua
function c21915012.valcheck(e,c)
	local g=c:GetMaterial()
	local mg=g:Filter(Card.IsTuner,nil,c)
	local tc=mg:GetFirst()
	if not tc then

Red Hypernova Dragon (30698243) ​

Source: Scripts/c30698243.lua

lua
	local rg=mg-c
	if c:IsNotTuner(syncard) and c:IsSynchroType(TYPE_SYNCHRO) then
		return rg:FilterCount(Card.IsTuner,nil,syncard)==4
	else
		return false