Commit 9d8f3975 authored by VanillaSalt's avatar VanillaSalt

fix

parent b35f8671
...@@ -14,7 +14,7 @@ function c22377815.initial_effect(c) ...@@ -14,7 +14,7 @@ function c22377815.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c22377815.con(e,tp,eg,ep,ev,re,r,rp) function c22377815.con(e,tp,eg,ep,ev,re,r,rp)
return aux.IsDualState(e) and bdogcon(e,tp,eg,ep,ev,re,r,rp) return aux.IsDualState(e) and aux.bdogcon(e,tp,eg,ep,ev,re,r,rp)
end end
function c22377815.tg(e,tp,eg,ep,ev,re,r,rp,chk) function c22377815.tg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
......
...@@ -12,6 +12,7 @@ function c26885836.initial_effect(c) ...@@ -12,6 +12,7 @@ function c26885836.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c26885836.eqcon(e,tp,eg,ep,ev,re,r,rp) function c26885836.eqcon(e,tp,eg,ep,ev,re,r,rp)
local tc=e:GetHandler():GetBattleTarget()
e:SetLabelObject(tc) e:SetLabelObject(tc)
return aux.bdogcon(e,tp,eg,ep,ev,re,r,rp) return aux.bdogcon(e,tp,eg,ep,ev,re,r,rp)
end end
......
...@@ -13,6 +13,7 @@ function c26993374.initial_effect(c) ...@@ -13,6 +13,7 @@ function c26993374.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c26993374.tdcon(e,tp,eg,ep,ev,re,r,rp) function c26993374.tdcon(e,tp,eg,ep,ev,re,r,rp)
local t=e:GetHandler():GetBattleTarget()
e:SetLabelObject(t) e:SetLabelObject(t)
return aux.bdogcon(e,tp,eg,ep,ev,re,r,rp) return aux.bdogcon(e,tp,eg,ep,ev,re,r,rp)
end end
......
...@@ -83,10 +83,10 @@ function c93157004.syncon(e,c,tuner,mg) ...@@ -83,10 +83,10 @@ function c93157004.syncon(e,c,tuner,mg)
if c==nil then return true end if c==nil then return true end
local tp=c:GetControler() local tp=c:GetControler()
if Duel.GetLocationCount(tp,LOCATION_MZONE)<-2 then return false end if Duel.GetLocationCount(tp,LOCATION_MZONE)<-2 then return false end
local g1=Group.CreateGroup() local g1=nil
local g2=Group.CreateGroup() local g2=nil
local g3=Group.CreateGroup() local g3=nil
local g4=Group.CreateGroup() local g4=nil
if mg then if mg then
g1=mg:Filter(c93157004.matfilter1,nil,c) g1=mg:Filter(c93157004.matfilter1,nil,c)
g2=mg:Filter(c93157004.matfilter2,nil,c) g2=mg:Filter(c93157004.matfilter2,nil,c)
...@@ -118,10 +118,10 @@ function c93157004.syncon(e,c,tuner,mg) ...@@ -118,10 +118,10 @@ function c93157004.syncon(e,c,tuner,mg)
end end
function c93157004.synop(e,tp,eg,ep,ev,re,r,rp,c,tuner,mg) function c93157004.synop(e,tp,eg,ep,ev,re,r,rp,c,tuner,mg)
local g=Group.CreateGroup() local g=Group.CreateGroup()
local g1=Group.CreateGroup() local g1=nil
local g2=Group.CreateGroup() local g2=nil
local g3=Group.CreateGroup() local g3=nil
local g4=Group.CreateGroup() local g4=nil
if mg then if mg then
g1=mg:Filter(c93157004.matfilter1,nil,c) g1=mg:Filter(c93157004.matfilter1,nil,c)
g2=mg:Filter(c93157004.matfilter2,nil,c) g2=mg:Filter(c93157004.matfilter2,nil,c)
......
...@@ -86,9 +86,9 @@ function c97489701.syncon(e,c,tuner,mg) ...@@ -86,9 +86,9 @@ function c97489701.syncon(e,c,tuner,mg)
if c==nil then return true end if c==nil then return true end
local tp=c:GetControler() local tp=c:GetControler()
if Duel.GetLocationCount(tp,LOCATION_MZONE)<-2 then return false end if Duel.GetLocationCount(tp,LOCATION_MZONE)<-2 then return false end
local g1=Group.CreateGroup() local g1=nil
local g2=Group.CreateGroup() local g2=nil
local g3=Group.CreateGroup() local g3=nil
if mg then if mg then
g1=mg:Filter(c97489701.matfilter1,nil,c) g1=mg:Filter(c97489701.matfilter1,nil,c)
g2=mg:Filter(c97489701.matfilter2,nil,c) g2=mg:Filter(c97489701.matfilter2,nil,c)
...@@ -118,9 +118,9 @@ function c97489701.syncon(e,c,tuner,mg) ...@@ -118,9 +118,9 @@ function c97489701.syncon(e,c,tuner,mg)
end end
function c97489701.synop(e,tp,eg,ep,ev,re,r,rp,c,tuner,mg) function c97489701.synop(e,tp,eg,ep,ev,re,r,rp,c,tuner,mg)
local g=Group.CreateGroup() local g=Group.CreateGroup()
local g1=Group.CreateGroup() local g1=nil
local g2=Group.CreateGroup() local g2=nil
local g3=Group.CreateGroup() local g3=nil
if mg then if mg then
g1=mg:Filter(c97489701.matfilter1,nil,c) g1=mg:Filter(c97489701.matfilter1,nil,c)
g2=mg:Filter(c97489701.matfilter2,nil,c) g2=mg:Filter(c97489701.matfilter2,nil,c)
......
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