Commit b0baa84b authored by Chrono-Genex's avatar Chrono-Genex Committed by GitHub

fix (#2004)

parent 8202e96b
......@@ -40,6 +40,7 @@ function c40732515.spcfilter(c,tp)
end
function c40732515.spcon(e,c)
if c==nil then return true end
if c:IsHasEffect(EFFECT_NECRO_VALLEY) then return false end
local tp=c:GetControler()
local g=Duel.GetMatchingGroup(c40732515.spcfilter,tp,LOCATION_ONFIELD,0,nil,tp)
local ct=0
......
......@@ -47,6 +47,7 @@ function c63487632.spfilter(c,ft)
end
function c63487632.spcon(e,c)
if c==nil then return true end
if c:IsHasEffect(EFFECT_NECRO_VALLEY) then return false end
local tp=c:GetControler()
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
return ft>-1 and Duel.IsExistingMatchingCard(c63487632.spfilter,tp,LOCATION_MZONE,0,1,nil,ft)
......
......@@ -38,6 +38,7 @@ function c91434602.spcfilter(c,tp)
end
function c91434602.hspcon(e,c)
if c==nil then return true end
if c:IsHasEffect(EFFECT_NECRO_VALLEY) then return false end
local tp=c:GetControler()
return Duel.IsExistingMatchingCard(c91434602.spcfilter,tp,LOCATION_HAND+LOCATION_MZONE+LOCATION_GRAVE,0,1,nil,tp)
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment