Commit bf11d6d7 authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c22134505.lua

parent cabadf6e
Pipeline #31114 passed with stages
in 33 minutes and 10 seconds
...@@ -325,10 +325,11 @@ function s.tdfilter2(c) ...@@ -325,10 +325,11 @@ function s.tdfilter2(c)
end end
-- 用于让卡被无效之后指示物也不会被去除 -- 用于让卡被无效之后指示物也不会被去除
function s.chkcop(e,tp,eg,ep,ev,re,r,rp) function s.chkcop(e,tp,eg,ep,ev,re,r,rp)
e22134505 = e
local cnt = e:GetHandler():GetCounter(0x760) local cnt = e:GetHandler():GetCounter(0x760)
local chc = e:GetLabel() local chc = e:GetLabel()
if chc then if chc then
if chc>=cnt then if chc>=cnt and cnt<=1 and e:GetHandler():GetFlagEffect(22134501)==0 then
e:SetLabel(chc) e:SetLabel(chc)
Duel.RaiseEvent(e:GetHandler(),EVENT_CUSTOM+id,e,0,0,0,0) Duel.RaiseEvent(e:GetHandler(),EVENT_CUSTOM+id,e,0,0,0,0)
return return
...@@ -352,5 +353,5 @@ function s.htccop(e,tp,eg,ep,ev,re,r,rp) ...@@ -352,5 +353,5 @@ function s.htccop(e,tp,eg,ep,ev,re,r,rp)
end end
function s.resetcop(e,tp,eg,ep,ev,re,r,rp) function s.resetcop(e,tp,eg,ep,ev,re,r,rp)
Duel.GetLabel(e22134505) Duel.GetLabel(e22134505)
e22134505:SetLabel() e22134505:SetLabel(0)
end 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