Skip to content

Auxiliary.NegateEffectMonsterFilter ​

Signature ​

lua
Auxiliary.NegateEffectMonsterFilter(Card c) -> bool

Description ​

Filter for effects that negate an Effect Monster, such as Effect Veiler: c must be face-up, not already disabled, and currently an Effect Monster.

Parameters ​

  • c Card

Returns ​

  • bool - true if c is a valid Effect Monster to have its effects negated.

Source ​

  • Utilities/utility.lua:751

Used By ​

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

  • Detected in 62 indexed script(s).
  • Search this function in the Script Explorer with Auxiliary.NegateEffectMonsterFilter.
CardIDScriptDetected Calls
Shooting Majestic Star Dragon40939228Scripts/c40939228.lua2
Unchained Soul Rage Abominator21419436Scripts/c21419436.lua1
Weaver of Fairy Tails78021082Scripts/c78021082.lua1
Ekto Enneacraft - "tromarIA"29570824Scripts/c29570824.lua2
Groza, Tyrant of Thunder45420955Scripts/c45420955.lua3
S-Force Justify35334193Scripts/c35334193.lua3
Metaltronus64664373Scripts/c64664373.lua1
Epurrely Beauty98049934Scripts/c98049934.lua3
Zerrziel, Ruler of the Evil Eyed17739335Scripts/c17739335.lua1
Runick Freezing Curses30430448Scripts/c30430448.lua3
Odd-Eyes Wing Dragon58074177Scripts/c58074177.lua3
Aluber the Jester of Despia62962630Scripts/c62962630.lua3
Realm Eulogy54851325Scripts/c54851325.lua2
Ultimate Leo Utopia Ray68679595Scripts/c68679595.lua3
Gorgon, Empress of the Evil Eyed29357687Scripts/c29357687.lua3
Super Quantal Mech Beast Lusterrex57450198Scripts/c57450198.lua3
Trivikarma7436169Scripts/c7436169.lua1
Amaze Attraction Horror House92650018Scripts/c92650018.lua3
Atlantis Call65785782Scripts/c65785782.lua2
Time Thief Double Barrel91135480Scripts/c91135480.lua2
Nemleria Repeter33499794Scripts/c33499794.lua2
Rilliona, the Wondrous Magistus Witch Wardrobe74689476Scripts/c74689476.lua3
Fairy Tail Ball56725612Scripts/c56725612.lua1
Myutant Clash5466615Scripts/c5466615.lua3
...and 38 more

Script Examples ​

Shooting Majestic Star Dragon (40939228) ​

Source: Scripts/c40939228.lua

lua
end
function c40939228.distg(e,tp,eg,ep,ev,re,r,rp,chk)
	if chk==0 then return Duel.IsExistingMatchingCard(aux.NegateEffectMonsterFilter,tp,0,LOCATION_MZONE,1,nil) end
	Duel.SetOperationInfo(0,CATEGORY_DISABLE,nil,1,tp,LOCATION_MZONE)
end

Unchained Soul Rage Abominator (21419436) ​

Source: Scripts/c21419436.lua

lua
end
function s.disfilter(c,tp,e)
	return c:IsFaceupEx() and c:IsLocation(LOCATION_MZONE) and c:IsSummonPlayer(1-tp) and c:IsCanBeEffectTarget(e) and aux.NegateEffectMonsterFilter(c)
end
function s.discon(e,tp,eg,ep,ev,re,r,rp)

Weaver of Fairy Tails (78021082) ​

Source: Scripts/c78021082.lua

lua
end
function s.disfilter(c)
	return c:IsFaceup() and c:IsType(TYPE_EFFECT) and (aux.NegateEffectMonsterFilter(c) or not c:IsCode(19144623))
end
function s.distg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)