Skip to content

Auxiliary.dabcheck ​

Signature ​

lua
Auxiliary.dabcheck(Group g) -> void

Description ​

Returns true if every card in g has a different Attribute.

Parameters ​

  • g Group

Source ​

  • Utilities/utility.lua:1145

Used By ​

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

  • Detected in 14 indexed script(s).
  • Search this function in the Script Explorer with Auxiliary.dabcheck.
CardIDScriptDetected Calls
Spellbook of the Grand Circle11911336Scripts/c11911336.lua1
Arms of Genex Return Zero61775475Scripts/c61775475.lua1
Nebulus, Dragon Ruler of Mishaps94655777Scripts/c94655777.lua2
Hyperinvoked Aeon33166263Scripts/c33166263.lua2
Vanquish Soul Caesar Valius91073013Scripts/c91073013.lua2
Duality39973386Scripts/c39973386.lua2
Number 104: Masquerade Vain16908882Scripts/c16908882.lua2
Witchcrafter Madame Rilliona33475154Scripts/c33475154.lua1
Here There Be Dragons4575541Scripts/c4575541.lua1
Spiritual Power Recovery Potion61082944Scripts/c61082944.lua1
Vanquish Soul Snow Devil60883493Scripts/c60883493.lua1
Mental Tuner30291086Scripts/c30291086.lua2
Simorgh Onslaught28617139Scripts/c28617139.lua1
Super Soldier Synthesis45948430Scripts/c45948430.lua1

Script Examples ​

Spellbook of the Grand Circle (11911336) ​

Source: Scripts/c11911336.lua

lua
	if g:GetClassCount(Card.GetAttribute)<4 then return end
	Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
	local sg=g:SelectSubGroup(tp,aux.dabcheck,false,4,4)
	if Duel.SendtoHand(sg,nil,REASON_EFFECT)>0 then
		Duel.ConfirmCards(1-tp,sg)

Arms of Genex Return Zero (61775475) ​

Source: Scripts/c61775475.lua

lua
	local g=Duel.GetMatchingGroup(s.tdfilter,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil)
	Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
	local sg=g:SelectSubGroup(tp,aux.dabcheck,false,1,6)
	Duel.SetTargetCard(sg)
	Duel.SetOperationInfo(0,CATEGORY_TODECK,sg,sg:GetCount(),0,0)

Nebulus, Dragon Ruler of Mishaps (94655777) ​

Source: Scripts/c94655777.lua

lua
	if chk==0 then return not Duel.IsPlayerAffectedByEffect(tp,59822133)
		and Duel.GetLocationCount(tp,LOCATION_MZONE)>1
		and g:CheckSubGroup(aux.dabcheck,2,2) end
	Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
	local g1=g:SelectSubGroup(tp,aux.dabcheck,false,2,2)