Commit 74834426 authored by mercury233's avatar mercury233 Committed by GitHub

part fix ディフェクト・コンパイラー

parent d36dc006
...@@ -32,7 +32,8 @@ function c92327802.initial_effect(c) ...@@ -32,7 +32,8 @@ function c92327802.initial_effect(c)
end end
function c92327802.damval(e,re,val,r,rp,rc) function c92327802.damval(e,re,val,r,rp,rc)
local c=e:GetHandler() local c=e:GetHandler()
if bit.band(r,REASON_EFFECT)~=0 and c:IsCanAddCounter(0x43,1) and c:GetFlagEffect(92327802)==0 then if bit.band(r,REASON_EFFECT)~=0 and rp==1-e:GetOwnerPlayer()
and c:IsCanAddCounter(0x43,1) and c:GetFlagEffect(92327802)==0 then
c:AddCounter(0x43,1) c:AddCounter(0x43,1)
c:RegisterFlagEffect(92327802,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1) c:RegisterFlagEffect(92327802,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1)
return 0 return 0
......
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