Commit 154d1d9b authored by wind2009's avatar wind2009

Fix

parent 46eabf4c
Pipeline #40964 passed with stages
in 2 minutes and 11 seconds
...@@ -73,7 +73,7 @@ end ...@@ -73,7 +73,7 @@ end
function s.chop(e,tp,eg,ep,ev,re,r,rp) function s.chop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local cs=c:GetSequence() local cs=c:GetSequence()
if not c:IsRelateToChain() or cs>4 or cs==2 then return end if not c:IsRelateToChain() or not cs:IsControler(tp) or cs>4 or cs==2 then return end
local g=Duel.GetMatchingGroup(s.chfilter,tp,LOCATION_MZONE,0,nil) local g=Duel.GetMatchingGroup(s.chfilter,tp,LOCATION_MZONE,0,nil)
if g:GetCount()==1 then if g:GetCount()==1 then
local tc=g:GetFirst() local tc=g:GetFirst()
......
...@@ -68,7 +68,7 @@ end ...@@ -68,7 +68,7 @@ end
function s.chop(e,tp,eg,ep,ev,re,r,rp) function s.chop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local cs=c:GetSequence() local cs=c:GetSequence()
if not c:IsRelateToChain() or cs>4 or cs==2 then return end if not c:IsRelateToChain() or not cs:IsControler(tp) or cs>4 or cs==2 then return end
local g=Duel.GetMatchingGroup(s.chfilter,tp,LOCATION_MZONE,0,nil) local g=Duel.GetMatchingGroup(s.chfilter,tp,LOCATION_MZONE,0,nil)
if g:GetCount()==1 then if g:GetCount()==1 then
local tc=g:GetFirst() local tc=g:GetFirst()
......
...@@ -71,7 +71,7 @@ end ...@@ -71,7 +71,7 @@ end
function s.chop(e,tp,eg,ep,ev,re,r,rp) function s.chop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local cs=c:GetSequence() local cs=c:GetSequence()
if not c:IsRelateToChain() or cs>4 or cs==2 then return end if not c:IsRelateToChain() or not cs:IsControler(tp) or cs>4 or cs==2 then return end
local g=Duel.GetMatchingGroup(s.chfilter,tp,LOCATION_MZONE,0,nil) local g=Duel.GetMatchingGroup(s.chfilter,tp,LOCATION_MZONE,0,nil)
if g:GetCount()==1 then if g:GetCount()==1 then
local tc=g:GetFirst() local tc=g:GetFirst()
......
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