Skip to content

Auxiliary.AtkEqualsDef ​

Signature ​

lua
Auxiliary.AtkEqualsDef(Card c) -> void

Description ​

Returns true for a non-Link Monster whose ATK equals DEF, using current values on the field or known printed values elsewhere.

Parameters ​

  • c Card

Source ​

  • Utilities/utility.lua:1118

Used By ​

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

  • Detected in 12 indexed script(s).
  • Search this function in the Script Explorer with Auxiliary.AtkEqualsDef.
CardIDScriptDetected Calls
Helping Robo for Underwater Combat77856460Scripts/c77856460.lua1
Despian Luluwalilith53971455Scripts/c53971455.lua1
The Three Champions of Swordsoul74405783Scripts/c74405783.lua1
Gizmek Inaba, the Hopping Hare of Hakuto50901852Scripts/c50901852.lua2
Sacred Scrolls of the Gizmek Legend24793135Scripts/c24793135.lua2
Checkker77435268Scripts/c77435268.lua1
Gizmek Arakami, the Hailbringer Hog59789370Scripts/c59789370.lua3
The Golden Swordsoul82489470Scripts/c82489470.lua1
Gizmek Uka, the Festive Fox of Fecundity90361289Scripts/c90361289.lua1
Gizmek Taniguku, the Immobile Intellect23384666Scripts/c23384666.lua2
Gizmek Naganaki, the Sunrise Signaler96399967Scripts/c96399967.lua3
Gizmek Makami, the Ferocious Fanged Fortress46809548Scripts/c46809548.lua1

Script Examples ​

Helping Robo for Underwater Combat (77856460) ​

Source: Scripts/c77856460.lua

lua
end
function s.thfilter(c)
	return aux.AtkEqualsDef(c) and c:IsRace(RACE_MACHINE) and c:IsAbleToHand()
end
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)

Despian Luluwalilith (53971455) ​

Source: Scripts/c53971455.lua

lua
end
function c53971455.spfilter(c,e,tp)
	return c:IsAttribute(ATTRIBUTE_LIGHT) and c:IsRace(RACE_SPELLCASTER) and aux.AtkEqualsDef(c) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function c53971455.sptg(e,tp,eg,ep,ev,re,r,rp,chk)

The Three Champions of Swordsoul (74405783) ​

Source: Scripts/c74405783.lua

lua
end
function s.thfilter(c)
	return aux.AtkEqualsDef(c) and c:IsRace(RACE_SPELLCASTER)
		and c:IsLevel(4,8) and c:IsAbleToHand()
end