Commit 652efce6 authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12026022.lua

parent 0768fb65
...@@ -84,7 +84,7 @@ function c12026022.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -84,7 +84,7 @@ function c12026022.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
e12:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e12:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e12:SetCode(EFFECT_IMMUNE_EFFECT) e12:SetCode(EFFECT_IMMUNE_EFFECT)
e12:SetRange(LOCATION_ONFIELD) e12:SetRange(LOCATION_ONFIELD)
e12:SetReset(RESET_EVENT+0x1fe0000) e12:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END)
e12:SetValue(c12026022.efilter) e12:SetValue(c12026022.efilter)
tg:GetFirst():RegisterEffect(e12) tg:GetFirst():RegisterEffect(e12)
end end
...@@ -102,11 +102,11 @@ function c12026022.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -102,11 +102,11 @@ function c12026022.desop(e,tp,eg,ep,ev,re,r,rp)
e12:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e12:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e12:SetCode(EFFECT_IMMUNE_EFFECT) e12:SetCode(EFFECT_IMMUNE_EFFECT)
e12:SetRange(LOCATION_ONFIELD) e12:SetRange(LOCATION_ONFIELD)
e12:SetReset(RESET_EVENT+0x1fe0000) e12:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END)
e12:SetValue(c12026022.efilter) e12:SetValue(c12026022.efilter)
tg:GetFirst():RegisterEffect(e12) tg:GetFirst():RegisterEffect(e12)
end end
end end
function c12026022.efilter(e,re) function c12026022.efilter(e,re)
return e:GetHandlerPlayer()~=re:GetOwnerPlayer() return e:GetHandlerPlayer()~=re:GetOwnerPlayer()
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