Commit 5734465a authored by POLYMER's avatar POLYMER

fix

parent 7e1b280e
This diff is collapsed.
...@@ -43,6 +43,7 @@ function s.initial_effect(c) ...@@ -43,6 +43,7 @@ function s.initial_effect(c)
e3a:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e3a:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e3a:SetCode(EVENT_REMOVE) e3a:SetCode(EVENT_REMOVE)
e3a:SetOperation(s.regop3) e3a:SetOperation(s.regop3)
c:RegisterEffect(e3a)
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,1)) e3:SetDescription(aux.Stringid(id,1))
e3:SetCategory(CATEGORY_SPECIAL_SUMMON) e3:SetCategory(CATEGORY_SPECIAL_SUMMON)
...@@ -167,5 +168,5 @@ function s.regop3(e,tp,eg,ep,ev,re,r,rp) ...@@ -167,5 +168,5 @@ function s.regop3(e,tp,eg,ep,ev,re,r,rp)
c:RegisterFlagEffect(id+100000,RESET_PHASE+PHASE_END,0,1) c:RegisterFlagEffect(id+100000,RESET_PHASE+PHASE_END,0,1)
end end
function s.con3(e,tp,eg,ep,ev,re,r,rp) function s.con3(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()~=tp and e:GetHandler():GetFlagEffect(id)>0 return Duel.GetTurnPlayer()~=tp and e:GetHandler():GetFlagEffect(id+100000)>0
end end
\ No newline at end of file
...@@ -36,6 +36,7 @@ function s.initial_effect(c) ...@@ -36,6 +36,7 @@ function s.initial_effect(c)
e3a:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e3a:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e3a:SetCode(EVENT_REMOVE) e3a:SetCode(EVENT_REMOVE)
e3a:SetOperation(s.regop) e3a:SetOperation(s.regop)
c:RegisterEffect(e3a)
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,1)) e3:SetDescription(aux.Stringid(id,1))
e3:SetCategory(CATEGORY_REMOVE+CATEGORY_SPECIAL_SUMMON) e3:SetCategory(CATEGORY_REMOVE+CATEGORY_SPECIAL_SUMMON)
......
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