Skip to content

Auxiliary.NecroValleyNegateCheck ​

Signature ​

lua
Auxiliary.NecroValleyNegateCheck(Card|Group v) -> bool

Description ​

Checks whether v, a Card or Group, contains a card affected by Necrovalley. If the current Chain is disablable and a matching card is found, it negates the current effect and returns true.

Parameters ​

  • v Card|Group

Returns ​

  • bool - true if the current effect was negated by the Necrovalley check.

Source ​

  • Utilities/utility.lua:929

Used By ​

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

  • Detected in 50 indexed script(s).
  • Search this function in the Script Explorer with Auxiliary.NecroValleyNegateCheck.
CardIDScriptDetected Calls
Ashtraja Susanoo17020474Scripts/c17020474.lua1
Vernusylph and the Changing Season37313338Scripts/c37313338.lua1
Meklord Astro the Eradicator2992036Scripts/c2992036.lua1
Red Hypernova Dragon30698243Scripts/c30698243.lua1
Clown Crew Meteor93172951Scripts/c93172951.lua1
The Glitter of Raise Moon9362643Scripts/c9362643.lua1
Fiendsmith's Lacrima46640168Scripts/c46640168.lua1
Clown Crew Flair42759961Scripts/c42759961.lua1
R.B. Operation Test16066654Scripts/c16066654.lua1
Deskbot Base12215894Scripts/c12215894.lua1
Unchained Ogre Shara95136979Scripts/c95136979.lua1
Clown Crew Diabolo31533473Scripts/c31533473.lua1
Clown Crew Dristy30109445Scripts/c30109445.lua1
Chaos End Ruler - Ruler of the Beginning and the End41424250Scripts/c41424250.lua1
Number 1: Infection Buzzking10666000Scripts/c10666000.lua1
Despian Proskenion18666161Scripts/c18666161.lua1
Drill Warrior3429238Scripts/c3429238.lua1
Madolche Chateau14001430Scripts/c14001430.lua1
Water Leviathan @Ignister37061511Scripts/c37061511.lua1
Samsara D Lotus62318994Scripts/c62318994.lua1
Rainbow Bridge of Salvation5611760Scripts/c5611760.lua1
Dyna Mondo73898890Scripts/c73898890.lua1
Way Where There's a Will91880660Scripts/c91880660.lua1
Tierra, Source of Destruction91588074Scripts/c91588074.lua1
...and 26 more

Script Examples ​

Ashtraja Susanoo (17020474) ​

Source: Scripts/c17020474.lua

lua
	local c=e:GetHandler()
	local g=Duel.GetTargetsRelateToChain()
	if aux.NecroValleyNegateCheck(g) then return end
	local sg=g:Filter(aux.NecroValleyFilter(),nil)
	if sg:GetCount()==1 then

Vernusylph and the Changing Season (37313338) ​

Source: Scripts/c37313338.lua

lua
	local tc=Duel.GetFirstTarget()
	if tc:IsRelateToEffect(e) then
		if aux.NecroValleyNegateCheck(tc) then return end
		if not aux.NecroValleyFilter()(tc) then return end
		if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and tc:IsCanBeSpecialSummoned(e,0,tp,false,false)

Meklord Astro the Eradicator (2992036) ​

Source: Scripts/c2992036.lua

lua
function c2992036.activate(e,tp,eg,ep,ev,re,r,rp)
	local tg=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(Card.IsRelateToEffect,nil,e)
	if aux.NecroValleyNegateCheck(tg) then return end
	if tg:GetCount()>0 then
		local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)