Commit cd7c0024 authored by Amiya's avatar Amiya

修复

parent 84ffb0e7
Pipeline #41598 passed with stages
in 2 minutes and 25 seconds
...@@ -63,6 +63,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -63,6 +63,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end end
end end
if ct>=3 and Duel.GetFlagEffect(tp,id)==0 then if ct>=3 and Duel.GetFlagEffect(tp,id)==0 then
Duel.BreakEffect()
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_IMMUNE_EFFECT) e1:SetCode(EFFECT_IMMUNE_EFFECT)
...@@ -71,11 +72,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -71,11 +72,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
e1:SetValue(s.efilter) e1:SetValue(s.efilter)
e1:SetReset(RESET_PHASE+PHASE_END+RESET_SELF_TURN) e1:SetReset(RESET_PHASE+PHASE_END+RESET_SELF_TURN)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
Duel.RegisterFlagEffect(tp,id,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,id,RESET_PHASE+PHASE_END+RESET_SELF_TURN,0,1)
end end
if ct>=5 then if ct>=5 then
local g=Duel.GetMatchingGroup(s.posfilter,tp,0,LOCATION_MZONE,nil) local g=Duel.GetMatchingGroup(s.posfilter,tp,0,LOCATION_MZONE,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.BreakEffect()
Duel.ChangePosition(g,POS_FACEDOWN_DEFENSE) Duel.ChangePosition(g,POS_FACEDOWN_DEFENSE)
end end
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