Commit 872ca719 authored by mercury233's avatar mercury233

fix Sin monsters

parent fb9d9931
...@@ -58,7 +58,7 @@ function c16958382.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c) ...@@ -58,7 +58,7 @@ function c16958382.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
local g=Group.CreateGroup() local g=Group.CreateGroup()
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then
local g1=Duel.GetMatchingGroup(c16958382.spfilter,tp,LOCATION_EXTRA,0,nil) local g1=Duel.GetMatchingGroup(c16958382.spfilter,tp,LOCATION_EXTRA,0,nil)
g1:Merge(g) g:Merge(g1)
end end
local g2=Duel.GetMatchingGroup(c16958382.spfilter2,tp,LOCATION_MZONE+LOCATION_GRAVE,0,nil,tp) local g2=Duel.GetMatchingGroup(c16958382.spfilter2,tp,LOCATION_MZONE+LOCATION_GRAVE,0,nil,tp)
g:Merge(g2) g:Merge(g2)
......
...@@ -61,7 +61,7 @@ function c1710476.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c) ...@@ -61,7 +61,7 @@ function c1710476.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
local g=Group.CreateGroup() local g=Group.CreateGroup()
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then
local g1=Duel.GetMatchingGroup(c1710476.spfilter,tp,LOCATION_EXTRA,0,nil) local g1=Duel.GetMatchingGroup(c1710476.spfilter,tp,LOCATION_EXTRA,0,nil)
g1:Merge(g) g:Merge(g1)
end end
local g2=Duel.GetMatchingGroup(c1710476.spfilter2,tp,LOCATION_MZONE+LOCATION_GRAVE,0,nil,tp) local g2=Duel.GetMatchingGroup(c1710476.spfilter2,tp,LOCATION_MZONE+LOCATION_GRAVE,0,nil,tp)
g:Merge(g2) g:Merge(g2)
......
...@@ -70,7 +70,7 @@ function c36521459.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c) ...@@ -70,7 +70,7 @@ function c36521459.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
local g=Group.CreateGroup() local g=Group.CreateGroup()
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then
local g1=Duel.GetMatchingGroup(c36521459.spfilter,tp,LOCATION_EXTRA,0,nil) local g1=Duel.GetMatchingGroup(c36521459.spfilter,tp,LOCATION_EXTRA,0,nil)
g1:Merge(g) g:Merge(g1)
end end
local g2=Duel.GetMatchingGroup(c36521459.spfilter2,tp,LOCATION_MZONE+LOCATION_GRAVE,0,nil,tp) local g2=Duel.GetMatchingGroup(c36521459.spfilter2,tp,LOCATION_MZONE+LOCATION_GRAVE,0,nil,tp)
g:Merge(g2) g:Merge(g2)
......
...@@ -54,7 +54,7 @@ function c55343236.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c) ...@@ -54,7 +54,7 @@ function c55343236.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
local g=Group.CreateGroup() local g=Group.CreateGroup()
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then
local g1=Duel.GetMatchingGroup(c55343236.spfilter,tp,LOCATION_DECK,0,nil) local g1=Duel.GetMatchingGroup(c55343236.spfilter,tp,LOCATION_DECK,0,nil)
g1:Merge(g) g:Merge(g1)
end end
local g2=Duel.GetMatchingGroup(c55343236.spfilter2,tp,LOCATION_MZONE+LOCATION_GRAVE,0,nil,tp) local g2=Duel.GetMatchingGroup(c55343236.spfilter2,tp,LOCATION_MZONE+LOCATION_GRAVE,0,nil,tp)
g:Merge(g2) g:Merge(g2)
......
...@@ -61,7 +61,7 @@ function c598988.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c) ...@@ -61,7 +61,7 @@ function c598988.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
local g=Group.CreateGroup() local g=Group.CreateGroup()
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then
local g1=Duel.GetMatchingGroup(c598988.spfilter,tp,LOCATION_HAND+LOCATION_DECK,0,nil) local g1=Duel.GetMatchingGroup(c598988.spfilter,tp,LOCATION_HAND+LOCATION_DECK,0,nil)
g1:Merge(g) g:Merge(g1)
end end
local g2=Duel.GetMatchingGroup(c598988.spfilter2,tp,LOCATION_MZONE+LOCATION_GRAVE,0,nil,tp) local g2=Duel.GetMatchingGroup(c598988.spfilter2,tp,LOCATION_MZONE+LOCATION_GRAVE,0,nil,tp)
g:Merge(g2) g:Merge(g2)
......
...@@ -55,7 +55,7 @@ function c9433350.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c) ...@@ -55,7 +55,7 @@ function c9433350.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
local g=Group.CreateGroup() local g=Group.CreateGroup()
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then
local g1=Duel.GetMatchingGroup(c9433350.spfilter,tp,LOCATION_DECK,0,nil) local g1=Duel.GetMatchingGroup(c9433350.spfilter,tp,LOCATION_DECK,0,nil)
g1:Merge(g) g:Merge(g1)
end end
local g2=Duel.GetMatchingGroup(c9433350.spfilter2,tp,LOCATION_MZONE+LOCATION_GRAVE,0,nil,tp) local g2=Duel.GetMatchingGroup(c9433350.spfilter2,tp,LOCATION_MZONE+LOCATION_GRAVE,0,nil,tp)
g:Merge(g2) g:Merge(g2)
......
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