Commit 17165584 authored by POLYMER's avatar POLYMER

fix

parent 5a8e3a58
...@@ -36,7 +36,7 @@ function s.checkop2(e,tp,eg,ep,ev,re,r,rp) ...@@ -36,7 +36,7 @@ function s.checkop2(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst() local tc=eg:GetFirst()
while tc do while tc do
local tp=tc:GetPreviousControler() local tp=tc:GetPreviousControler()
if tc:GetPreviousPosition()&POS_FACEUP~=0 and tc:IsType(TYPE_MONSTER) and tc:IsRace(RACE_FIEND) and Duel.GetFlagEffect(tp,id)==0 then if tc:GetPreviousPosition()&POS_FACEUP~=0 and tc:IsType(TYPE_MONSTER) and tc:IsRace(RACE_FIEND) and Duel.GetFlagEffect(tp,id)==0 then
Duel.RegisterFlagEffect(tp,id,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,id,RESET_PHASE+PHASE_END,0,1)
Duel.RegisterFlagEffect(1-tp,id,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(1-tp,id,RESET_PHASE+PHASE_END,0,1)
end end
...@@ -60,11 +60,8 @@ function s.regop(e,tp,eg,ep,ev,re,r,rp) ...@@ -60,11 +60,8 @@ function s.regop(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
function s.efilter(e,re) function s.efilter(e,re)
local tp=e:GetHandler() return re:GetOwnerPlayer()~=e:GetHandlerPlayer() and ((re:GetActivateLocation()~=LOCATION_MZONE and re:GetActivateLocation()~=LOCATION_SZONE) and not re:IsHasType(EFFECT_TYPE_ACTIVATE))
local rp=re:GetHandler()
return rp==1-tp and ((re:GetActivateLocation()~=LOCATION_MZONE and re:GetActivateLocation()~=LOCATION_SZONE) and not re:IsHasType(EFFECT_TYPE_ACTIVATE))
end end
function s.recon(e,tp,eg,ep,ev,re,r,rp) function s.recon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFlagEffect(tp,id)>0 return Duel.GetFlagEffect(tp,id)>0
end end
......
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