Skip to content

Auxiliary.nzatk ​

Signature ​

lua
Auxiliary.nzatk(Card c) -> bool

Description ​

Filter helper that is true for face-up cards with current ATK greater than 0.

Parameters ​

  • c Card

Returns ​

  • bool

Source ​

  • Utilities/utility.lua:843

Used By ​

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

  • Detected in 35 indexed script(s).
  • Search this function in the Script Explorer with Auxiliary.nzatk.
CardIDScriptDetected Calls
Earthbound Servant Geo Gremlin8690387Scripts/c8690387.lua1
Number 99: Utopia Dragonar95134948Scripts/c95134948.lua1
Gagaga Girl - Cell Phone Subtraction48393693Scripts/c48393693.lua2
Reptilianne Melusine32138660Scripts/c32138660.lua3
Gate Guardian of Water and Thunder97783338Scripts/c97783338.lua3
Dark Requiem Xyz Dragon1621413Scripts/c1621413.lua3
Wattkingdom41790641Scripts/c41790641.lua1
Sinful Spoils of Doom - Rciela16240772Scripts/c16240772.lua1
Ryu-Ge Realm - Wyrm Winds55154344Scripts/c55154344.lua3
Conduction Warrior Linear Magnum Plus Minus44839512Scripts/c44839512.lua1
Apparition91392974Scripts/c91392974.lua1
Water Leviathan @Ignister37061511Scripts/c37061511.lua4
Heroic Champion - Claivesolish97453744Scripts/c97453744.lua3
Reptilianne Echidna8602351Scripts/c8602351.lua3
Ancient Warriors Saga - Borrowing of Arrows33609093Scripts/c33609093.lua2
Reptilianne Lamia57647597Scripts/c57647597.lua4
Dragocytos Corrupted Nethersoul Dragon21435914Scripts/c21435914.lua3
Queen Butterfly Danaus13302026Scripts/c13302026.lua1
Vision HERO Poisoner83414006Scripts/c83414006.lua2
Argostars - Glorious Adra91438674Scripts/c91438674.lua2
Black-Winged Dragon9012916Scripts/c9012916.lua2
Dark Anthelion Dragon95685352Scripts/c95685352.lua3
You and A.I.32056070Scripts/c32056070.lua2
Daruma Dropper35394356Scripts/c35394356.lua3
...and 11 more

Script Examples ​

Earthbound Servant Geo Gremlin (8690387) ​

Source: Scripts/c8690387.lua

lua
	local op=aux.SelectFromOptions(1-tp,
		{true,aux.Stringid(id,2)},
		{aux.nzatk(tc),aux.Stringid(id,3)})
	if op==1 then
		Duel.Destroy(tc,REASON_EFFECT)

Number 99: Utopia Dragonar (95134948) ​

Source: Scripts/c95134948.lua

lua
end
function c95134948.atkcon(e,tp,eg,ep,ev,re,r,rp)
	return tp~=Duel.GetTurnPlayer() and aux.nzatk(Duel.GetAttacker())
end
function c95134948.atkop(e,tp,eg,ep,ev,re,r,rp)

Gagaga Girl - Cell Phone Subtraction (48393693) ​

Source: Scripts/c48393693.lua

lua
end
function s.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
	local g=Duel.GetMatchingGroup(aux.nzatk,tp,0,LOCATION_MZONE,nil)
	if chk==0 then return #g>0 end
	Duel.SetOperationInfo(0,CATEGORY_ATKCHANGE,g,1,0,0)