Commit 9a6fbddf authored by mercury233's avatar mercury233 Committed by GitHub

fix

parent 524c175c
...@@ -51,8 +51,8 @@ function c72989439.spcost_selector(c,tp,g,sg,i) ...@@ -51,8 +51,8 @@ function c72989439.spcost_selector(c,tp,g,sg,i)
end end
function c72989439.spcon(e,c) function c72989439.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(c72989439.spcostfilter,tp,LOCATION_GRAVE,0,nil) local g=Duel.GetMatchingGroup(c72989439.spcostfilter,tp,LOCATION_GRAVE,0,nil)
local sg=Group.CreateGroup() local sg=Group.CreateGroup()
return g:IsExists(c72989439.spcost_selector,1,nil,tp,g,sg,1) return g:IsExists(c72989439.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