Commit 95414246 authored by wind2009's avatar wind2009

Fix

parent 0bec353e
No preview for this file type
...@@ -33,12 +33,11 @@ end ...@@ -33,12 +33,11 @@ end
function s.checkop(e,tp,eg,ep,ev,re,r,rp) function s.checkop(e,tp,eg,ep,ev,re,r,rp)
local at=Duel.GetAttackTarget() local at=Duel.GetAttackTarget()
local ar=Duel.GetAttacker() local ar=Duel.GetAttacker()
if at then if at and at:IsSetCard(0x2cb) then
if at:IsSetCard(0x2cb) then Duel.RegisterFlagEffect(at:GetControler(),id,RESET_PHASE+PHASE_END,0,1)
Duel.RegisterFlagEffect(at:GetControler(),id,RESET_PHASE+PHASE_END,0,1) end
elseif ar and ar:IsSetCard(0x2cb) then if ar and ar:IsSetCard(0x2cb) then
Duel.RegisterFlagEffect(ar:GetControler(),id,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(ar:GetControler(),id,RESET_PHASE+PHASE_END,0,1)
end
end end
end end
function s.filter1(c,e,tp) function s.filter1(c,e,tp)
......
...@@ -35,12 +35,11 @@ end ...@@ -35,12 +35,11 @@ end
function s.checkop(e,tp,eg,ep,ev,re,r,rp) function s.checkop(e,tp,eg,ep,ev,re,r,rp)
local at=Duel.GetAttackTarget() local at=Duel.GetAttackTarget()
local ar=Duel.GetAttacker() local ar=Duel.GetAttacker()
if at then if at and at:IsSetCard(0x2cb) then
if at:IsSetCard(0x2cb) then Duel.RegisterFlagEffect(at:GetControler(),id,RESET_PHASE+PHASE_END,0,1)
Duel.RegisterFlagEffect(at:GetControler(),id,RESET_PHASE+PHASE_END,0,1) end
elseif ar and ar:IsSetCard(0x2cb) then if ar and ar:IsSetCard(0x2cb) then
Duel.RegisterFlagEffect(ar:GetControler(),id,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(ar:GetControler(),id,RESET_PHASE+PHASE_END,0,1)
end
end end
end end
function s.condition(e,tp,eg,ep,ev,re,r,rp) function s.condition(e,tp,eg,ep,ev,re,r,rp)
......
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