Skip to content

Card.IsAllTypes ​

Signature ​

lua
Card.IsAllTypes(Card c, int type) -> bool

Description ​

Checks whether c includes all types in type.

Parameters ​

  • c Card
  • type int

Returns ​

  • bool

Source ​

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

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 65 indexed script(s).
  • Search this function in the Script Explorer with Card.IsAllTypes.
CardIDScriptDetected Calls
Radiant Typhoon Varuroon, the Marine Eidolon39341885Scripts/c39341885.lua1
Chef de Nouvelles29251488Scripts/c29251488.lua2
Power Patron DoomZ81650695Scripts/c81650695.lua1
Dragon Master Magia12381100Scripts/c12381100.lua2
DoomZ XII Zero - Drastea92472273Scripts/c92472273.lua1
Lunalight Masquerade2344618Scripts/c2344618.lua1
Zoroa, the Magistus Verethragna37260677Scripts/c37260677.lua2
Darkuriboh1035143Scripts/c1035143.lua1
Cyberse Contract Witch37458564Scripts/c37458564.lua1
Yummy☆Surprise29369059Scripts/c29369059.lua1
Elfnotes: Rhapsodia of Madness24092792Scripts/c24092792.lua1
Fydraulis Harmonia70088809Scripts/c70088809.lua1
Materiactor Meltthrough66059345Scripts/c66059345.lua2
Sudden Thunder Swamp23611122Scripts/c23611122.lua1
Elfnote Tinia59581480Scripts/c59581480.lua1
Snake-Eyes Vengeance Dragon79415624Scripts/c79415624.lua1
Shade the Obscure77157846Scripts/c77157846.lua1
Black Chaos98684220Scripts/c98684220.lua3
Argostars - Giantslaying30964246Scripts/c30964246.lua2
Hrimnir the Divine Follower49904658Scripts/c49904658.lua1
Chaos Mystic Box75983808Scripts/c75983808.lua1
Nouvelles Recipe Book "Recettes de Nouvellez"61944066Scripts/c61944066.lua2
Skull Archfiend of Chaos24088928Scripts/c24088928.lua2
Clockwork Knight41739381Scripts/c41739381.lua1
...and 41 more

Script Examples ​

Radiant Typhoon Varuroon, the Marine Eidolon (39341885) ​

Source: Scripts/c39341885.lua

lua
end
function s.pfilter(c,tp)
	return c:IsAllTypes(TYPE_CONTINUOUS+TYPE_TRAP) and c:IsSetCard(0x1d1)
		and not c:IsForbidden() and c:CheckUniqueOnField(tp)
end

Chef de Nouvelles (29251488) ​

Source: Scripts/c29251488.lua

lua
end
function s.thfilter(c)
	return not c:IsAllTypes(TYPE_PENDULUM+TYPE_MONSTER) and c:IsSetCard(0x196) and c:IsAbleToHand()
end
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)

Power Patron DoomZ (81650695) ​

Source: Scripts/c81650695.lua

lua
end
function s.spfilter(c,e,tp,mc)
	return c:IsRank(mc:GetLevel()) and (c:IsSetCard(0x1d2) or c:IsCode(68231287)) and c:IsAllTypes(TYPE_XYZ+TYPE_MONSTER)
		and mc:IsCanBeXyzMaterial(c) and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_XYZ,tp,false,false)
		and Duel.GetLocationCountFromEx(tp,tp,mc,c)>0