Commit 8bae85dd authored by mercury233's avatar mercury233

fix

parent 836ccf68
...@@ -41,8 +41,8 @@ function c25460258.spcost_selector(c,tp,g,sg,i) ...@@ -41,8 +41,8 @@ function c25460258.spcost_selector(c,tp,g,sg,i)
end end
function c25460258.spcon(e,c) function c25460258.spcon(e,c)
if c==nil then return true end if c==nil then return true end
if Duel.GetMZoneCount(tp)<=0 then return false end
local tp=c:GetControler() local tp=c:GetControler()
if Duel.GetMZoneCount(tp)<=0 then return false end
local g=Duel.GetMatchingGroup(c25460258.spcostfilter,tp,LOCATION_GRAVE,0,nil) local g=Duel.GetMatchingGroup(c25460258.spcostfilter,tp,LOCATION_GRAVE,0,nil)
local sg=Group.CreateGroup() local sg=Group.CreateGroup()
return g:IsExists(c25460258.spcost_selector,1,nil,tp,g,sg,1) return g:IsExists(c25460258.spcost_selector,1,nil,tp,g,sg,1)
......
...@@ -49,8 +49,8 @@ function c82301904.spcost_selector(c,tp,g,sg,i) ...@@ -49,8 +49,8 @@ function c82301904.spcost_selector(c,tp,g,sg,i)
end end
function c82301904.spcon(e,c) function c82301904.spcon(e,c)
if c==nil then return true end if c==nil then return true end
if Duel.GetMZoneCount(tp)<=0 then return false end
local tp=c:GetControler() local tp=c:GetControler()
if Duel.GetMZoneCount(tp)<=0 then return false end
local g=Duel.GetMatchingGroup(c82301904.spcostfilter,tp,LOCATION_GRAVE,0,nil) local g=Duel.GetMatchingGroup(c82301904.spcostfilter,tp,LOCATION_GRAVE,0,nil)
local sg=Group.CreateGroup() local sg=Group.CreateGroup()
return g:IsExists(c82301904.spcost_selector,1,nil,tp,g,sg,1) return g:IsExists(c82301904.spcost_selector,1,nil,tp,g,sg,1)
......
...@@ -43,8 +43,8 @@ function c9596126.spcost_selector(c,tp,g,sg,i) ...@@ -43,8 +43,8 @@ function c9596126.spcost_selector(c,tp,g,sg,i)
end end
function c9596126.spcon(e,c) function c9596126.spcon(e,c)
if c==nil then return true end if c==nil then return true end
if Duel.GetMZoneCount(tp)<=0 then return false end
local tp=c:GetControler() local tp=c:GetControler()
if Duel.GetMZoneCount(tp)<=0 then return false end
local g=Duel.GetMatchingGroup(c9596126.spcostfilter,tp,LOCATION_GRAVE,0,nil) local g=Duel.GetMatchingGroup(c9596126.spcostfilter,tp,LOCATION_GRAVE,0,nil)
local sg=Group.CreateGroup() local sg=Group.CreateGroup()
return g:IsExists(c9596126.spcost_selector,1,nil,tp,g,sg,1) return g:IsExists(c9596126.spcost_selector,1,nil,tp,g,sg,1)
......
...@@ -51,8 +51,8 @@ function c99365553.spcost_selector(c,tp,g,sg,i) ...@@ -51,8 +51,8 @@ function c99365553.spcost_selector(c,tp,g,sg,i)
end end
function c99365553.spcon1(e,c) function c99365553.spcon1(e,c)
if c==nil then return true end if c==nil then return true end
if Duel.GetMZoneCount(tp)<=0 then return false end
local tp=c:GetControler() local tp=c:GetControler()
if Duel.GetMZoneCount(tp)<=0 then return false end
local g=Duel.GetMatchingGroup(c99365553.spcostfilter1,tp,LOCATION_GRAVE,0,nil) local g=Duel.GetMatchingGroup(c99365553.spcostfilter1,tp,LOCATION_GRAVE,0,nil)
local sg=Group.CreateGroup() local sg=Group.CreateGroup()
return g:IsExists(c99365553.spcost_selector,1,nil,tp,g,sg,1) return g:IsExists(c99365553.spcost_selector,1,nil,tp,g,sg,1)
...@@ -70,8 +70,8 @@ function c99365553.spop1(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -70,8 +70,8 @@ function c99365553.spop1(e,tp,eg,ep,ev,re,r,rp,c)
end end
function c99365553.spcon2(e,c) function c99365553.spcon2(e,c)
if c==nil then return true end if c==nil then return true end
if c:IsHasEffect(EFFECT_NECRO_VALLEY) or Duel.GetMZoneCount(tp)<=0 then return false end
local tp=c:GetControler() local tp=c:GetControler()
if c:IsHasEffect(EFFECT_NECRO_VALLEY) or Duel.GetMZoneCount(tp)<=0 then return false end
local g=Duel.GetMatchingGroup(c99365553.spcostfilter2,tp,LOCATION_HAND,0,nil) local g=Duel.GetMatchingGroup(c99365553.spcostfilter2,tp,LOCATION_HAND,0,nil)
local sg=Group.CreateGroup() local sg=Group.CreateGroup()
return g:IsExists(c99365553.spcost_selector,1,nil,tp,g,sg,1) return g:IsExists(c99365553.spcost_selector,1,nil,tp,g,sg,1)
......
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