Auxiliary.NegateAnyFilter
Signature
lua
Auxiliary.NegateAnyFilter(Card c) -> boolDescription
Filter for effects that negate a face-up card. Trap Monsters only need to be face-up, Spell/Trap Cards must be face-up and not already disabled, and monsters use Auxiliary.NegateMonsterFilter.
Parameters
cCard
Returns
bool- true if c is a valid card to have its effects negated.
Source
Utilities/utility.lua:755
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 86 indexed script(s).
- Search this function in the Script Explorer with
Auxiliary.NegateAnyFilter.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| El Shaddoll Apkallone | 50907446 | Scripts/c50907446.lua | 3 |
| DoSolfachord Coolia | 80776622 | Scripts/c80776622.lua | 3 |
| Transonic Bird | 34072799 | Scripts/c34072799.lua | 3 |
| Sacred Beasts Combined Assault | 50147815 | Scripts/c50147815.lua | 2 |
| Astrazma Urania | 18738846 | Scripts/c18738846.lua | 4 |
| Elfnotes: Rhapsodia of Madness | 24092792 | Scripts/c24092792.lua | 2 |
| Traptrix Atypus | 48183890 | Scripts/c48183890.lua | 3 |
| Radiant Typhoon Mandate | 53813120 | Scripts/c53813120.lua | 3 |
| Borrelshroud Dragon | 66452432 | Scripts/c66452432.lua | 2 |
| Rank-Up-Magic Numeron Force | 48333324 | Scripts/c48333324.lua | 1 |
| Clown Crew Biancaviso | 82159583 | Scripts/c82159583.lua | 4 |
| Shadow Severing Strike | 57232301 | Scripts/c57232301.lua | 1 |
| Gouki The Master Ogre | 30286474 | Scripts/c30286474.lua | 5 |
| Icejade Erosion | 53742162 | Scripts/c53742162.lua | 2 |
| Scourge of the White Forest | 93723936 | Scripts/c93723936.lua | 1 |
| Dragunity Knight - Areus | 34528176 | Scripts/c34528176.lua | 3 |
| Qliphort Genius | 22423493 | Scripts/c22423493.lua | 5 |
| Ars Magna - "Philosophirum" | 90728287 | Scripts/c90728287.lua | 2 |
| Gunkan Suship Uni-class Super-Dreadnought | 94798725 | Scripts/c94798725.lua | 3 |
| Despian Luluwalilith | 53971455 | Scripts/c53971455.lua | 1 |
| Goblin Freefall Squad | 85123771 | Scripts/c85123771.lua | 1 |
| Diabrocken the Ominous Specter | 6083904 | Scripts/c6083904.lua | 3 |
| The Three Champions of Swordsoul | 74405783 | Scripts/c74405783.lua | 3 |
| Kewl Tune RS | 15665977 | Scripts/c15665977.lua | 3 |
| ...and 62 more |
Script Examples
El Shaddoll Apkallone (50907446)
Source: Scripts/c50907446.lua
lua
end
function c50907446.distg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() and aux.NegateAnyFilter(chkc) end
if chk==0 then return Duel.IsExistingTarget(aux.NegateAnyFilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DISABLE)DoSolfachord Coolia (80776622)
Source: Scripts/c80776622.lua
lua
end
function c80776622.distg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() and chkc:IsControler(1-tp) and aux.NegateAnyFilter(chkc) end
if chk==0 then return Duel.IsExistingTarget(aux.NegateAnyFilter,tp,0,LOCATION_ONFIELD,1,nil) end
local ct=1Transonic Bird (34072799)
Source: Scripts/c34072799.lua
lua
end
function c34072799.negtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(1-tp) and chkc:IsOnField() and aux.NegateAnyFilter(chkc) end
if chk==0 then return Duel.IsExistingTarget(aux.NegateAnyFilter,tp,0,LOCATION_ONFIELD,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DISABLE)