Commit 6c503122 authored by mercury233's avatar mercury233

fix

parent 6e7a1af8
...@@ -45,8 +45,8 @@ function c100227028.initial_effect(c) ...@@ -45,8 +45,8 @@ function c100227028.initial_effect(c)
end end
function c100227028.reptg(e,tp,eg,ep,ev,re,r,rp,chk) function c100227028.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
if chk==0 then return e:GetHandler():IsReason(REASON_EFFECT) and c:GetReasonPlayer()~=tp and e:GetHandler():GetFlagEffect(100227028)==0 end if chk==0 then return e:GetHandler():IsReason(REASON_EFFECT) and c:GetReasonPlayer()~=tp and e:GetHandler():GetFlagEffect(100227128)==0 end
c:RegisterFlagEffect(100227028,RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END,0,1) c:RegisterFlagEffect(100227128,RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END,0,1)
return true return true
end end
function c100227028.acfilter(c) function c100227028.acfilter(c)
......
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