Skip to content

Auxiliary.AND ​

Signature ​

lua
Auxiliary.AND(... any) -> void

Description ​

Returns a composed predicate that calls each function with the same arguments and stops at the first falsy result.

Parameters ​

  • ... any

Source ​

  • Utilities/utility.lua:97

Used By ​

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

  • Detected in 79 indexed script(s).
  • Search this function in the Script Explorer with Auxiliary.AND.
CardIDScriptDetected Calls
Hecahands Tartaros57809669Scripts/c57809669.lua1
D/D Extra Surveyor74387963Scripts/c74387963.lua2
Starving Venom Wing Dragon5148778Scripts/c5148778.lua1
Roar of the Blue-Eyed Dragons17725109Scripts/c17725109.lua1
Defense of the Temple96687733Scripts/c96687733.lua1
Sinful Spoils of the White Forest3496543Scripts/c3496543.lua1
Dreaming Nemleria70155677Scripts/c70155677.lua1
Elfnotes: Rhapsodia of Madness24092792Scripts/c24092792.lua1
Phara the Primordial Goddess82344137Scripts/c82344137.lua1
Azamina Determination42201897Scripts/c42201897.lua2
Possessed Destiny - Wynn60516416Scripts/c60516416.lua1
Dream Tower of Princess Nemleria18458255Scripts/c18458255.lua1
Sweet Dreams, Nemleria44843954Scripts/c44843954.lua1
Amazement Abomination Arlekino31600845Scripts/c31600845.lua1
Eidos the Underworld Monarch31596518Scripts/c31596518.lua1
Wind Unicorn Parallel, the Dracoslayer39016067Scripts/c39016067.lua2
Jurrac Stego20568404Scripts/c20568404.lua2
Artmage Academic Arcane Arts Acropolis74733322Scripts/c74733322.lua1
Dragunity Lord - Georgius70522875Scripts/c70522875.lua1
ASHLAN U100044376395Scripts/c44376395.lua2
Twilight Rose Black Knight92595825Scripts/c92595825.lua1
Cursed Copycat Noble Arms23249029Scripts/c23249029.lua1
R.B. Last Stand43450363Scripts/c43450363.lua1
Arcana Force V - The Hierophant3376703Scripts/c3376703.lua1
...and 55 more

Script Examples ​

Hecahands Tartaros (57809669) ​

Source: Scripts/c57809669.lua

lua
		and (not e:IsCostChecked()
		or Duel.GetFlagEffect(tp,id)==0
			and Duel.IsExistingMatchingCard(aux.AND(Card.IsFaceup,Card.IsSetCard),tp,LOCATION_MZONE,0,1,nil,0x1d3))
	local chkf=tp
	local mg1=Duel.GetFusionMaterial(tp):Filter(s.filter1,nil,e)

D/D Extra Surveyor (74387963) ​

Source: Scripts/c74387963.lua

lua
end
function s.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
	local ct=Duel.GetMatchingGroupCount(aux.AND(Card.IsFaceup,Card.IsType),tp,0,LOCATION_EXTRA,nil,TYPE_PENDULUM)
	local tg=Duel.GetDecktopGroup(1-tp,ct)
	if chk==0 then return ct>0

Starving Venom Wing Dragon (5148778) ​

Source: Scripts/c5148778.lua

lua
end
function s.discon(e,tp,eg,ep,ev,re,r,rp)
	return eg:IsExists(aux.AND(Card.IsSummonPlayer,Card.IsFaceup),1,nil,1-tp)
end
function s.distg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)