Commit 281eb82b authored by POLYMER's avatar POLYMER

fix

parent 8571796f
...@@ -58,7 +58,8 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -58,7 +58,8 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
token:RegisterEffect(e3,true) token:RegisterEffect(e3,true)
end end
token:RegisterFlagEffect(1082946,RESET_PHASE+PHASE_END,0,1) token:RegisterFlagEffect(1082946,RESET_PHASE+PHASE_END,0,1)
s[token]=e1 local cs=getmetatable(token)
cs[token]=e1
Duel.SpecialSummonComplete() Duel.SpecialSummonComplete()
end end
end end
...@@ -142,7 +143,8 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp) ...@@ -142,7 +143,8 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
token:RegisterEffect(e3,true) token:RegisterEffect(e3,true)
end end
token:RegisterFlagEffect(1082946,RESET_PHASE+PHASE_END,0,1) token:RegisterFlagEffect(1082946,RESET_PHASE+PHASE_END,0,1)
s[token]=e1 local cs=getmetatable(token)
cs[token]=e1
Duel.SpecialSummonComplete() Duel.SpecialSummonComplete()
end end
end end
......
...@@ -23,12 +23,6 @@ function c98374846.initial_effect(c) ...@@ -23,12 +23,6 @@ function c98374846.initial_effect(c)
e2:SetCondition(c98374846.actcon) e2:SetCondition(c98374846.actcon)
e2:SetValue(c98374846.aclimit) e2:SetValue(c98374846.aclimit)
c:RegisterEffect(e2) c:RegisterEffect(e2)
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_SSET)
e0:SetRange(LOCATION_PZONE)
e0:SetOperation(c98374846.aclimset)
c:RegisterEffect(e0)
--cannot set --cannot set
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD) e3:SetType(EFFECT_TYPE_FIELD)
...@@ -88,12 +82,6 @@ function c98374846.aclimit(e,re,tp) ...@@ -88,12 +82,6 @@ function c98374846.aclimit(e,re,tp)
local c=re:GetHandler() local c=re:GetHandler()
return not c:IsLocation(LOCATION_SZONE) or c:GetFlagEffect(98374846)>0 return not c:IsLocation(LOCATION_SZONE) or c:GetFlagEffect(98374846)>0
end end
function c98374846.aclimset(e,tp,eg,ep,ev,re,r,rp)
for tc in aux.Next(eg) do
local reset=tc:IsControler(tp) and RESET_OPPO_TURN or RESET_SELF_TURN
tc:RegisterFlagEffect(98374846,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+reset,0,1)
end
end
function c98374846.slcon(e) function c98374846.slcon(e)
local tp=e:GetHandlerPlayer() local tp=e:GetHandlerPlayer()
return Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)>Duel.GetFieldGroupCount(tp,0,LOCATION_MZONE) return Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)>Duel.GetFieldGroupCount(tp,0,LOCATION_MZONE)
......
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