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