Commit 203c6f03 authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12033004.lua

parent edd927eb
...@@ -56,10 +56,10 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -56,10 +56,10 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp,chk)
local tc=g:GetFirst() local tc=g:GetFirst()
while tc do while tc do
local code=tc:GetOriginalCode() local code=tc:GetOriginalCode()
if c:IsRelateToEffect(e) and c:IsFaceup() then if c:IsFaceup() then
if c:GetFlagEffect(code)>0 then return end if c:GetFlagEffect(code)>0 then return end
c:CopyEffect(code,RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END,1) c:CopyEffect(code,RESET_EVENT+0x1fe0000,1)
c:RegisterFlagEffect(code,0x1fe0000,0,1) c:RegisterFlagEffect(code,RESET_EVENT+0x1fe0000,0,1)
end end
tc=g:GetNext() tc=g:GetNext()
end end
...@@ -83,4 +83,4 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -83,4 +83,4 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
end end
function cm.chlimit(e,ep,tp) function cm.chlimit(e,ep,tp)
return tp==ep return tp==ep
end end
\ No newline at end of file
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