Commit c0459697 authored by mallu11's avatar mallu11 Committed by nekrozar

fix No.26 次元孔路オクトバイパス (#1248)

parent 427bf929
...@@ -58,15 +58,15 @@ function c39622156.daop(e,tp,eg,ep,ev,re,r,rp) ...@@ -58,15 +58,15 @@ function c39622156.daop(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e3,tp) Duel.RegisterEffect(e3,tp)
end end
function c39622156.atkcon(e) function c39622156.atkcon(e)
return e:GetHandler():GetFlagEffect(39622156)~=0 return Duel.GetFlagEffect(tp,39622156)~=0
end end
function c39622156.atktg(e,c) function c39622156.atktg(e,c)
return c:GetFieldID()~=e:GetLabel() return c:GetFieldID()~=e:GetLabel()
end end
function c39622156.checkop(e,tp,eg,ep,ev,re,r,rp) function c39622156.checkop(e,tp,eg,ep,ev,re,r,rp)
if e:GetHandler():GetFlagEffect(39622156)~=0 then return end if Duel.GetFlagEffect(tp,39622156)~=0 then return end
local fid=eg:GetFirst():GetFieldID() local fid=eg:GetFirst():GetFieldID()
e:GetHandler():RegisterFlagEffect(39622156,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,39622156,RESET_PHASE+PHASE_BATTLE,0,1)
e:GetLabelObject():SetLabel(fid) e:GetLabelObject():SetLabel(fid)
end end
function c39622156.condition(e,tp,eg,ep,ev,re,r,rp) function c39622156.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