Commit 4d328f76 authored by Amiya's avatar Amiya

修复

parent 90ac7cb7
Pipeline #40539 passed with stages
in 1 minute and 26 seconds
...@@ -76,14 +76,12 @@ function s.clop(e,tp,eg,ep,ev,re,r,rp) ...@@ -76,14 +76,12 @@ function s.clop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if c:IsRelateToChain() and Duel.Destroy(c,REASON_EFFECT)~=0 if c:IsRelateToChain() and Duel.Destroy(c,REASON_EFFECT)~=0
and tc:IsRelateToChain() then and tc:IsRelateToChain() and Duel.GetControl(tc,tp,PHASE_END,1)~=0 then
Duel.GetControl(tc,tp,PHASE_END,1)
tc:RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD,0,1) tc:RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD,0,1)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PHASE+PHASE_END) e1:SetCode(EVENT_PHASE+PHASE_END)
e1:SetCountLimit(1) e1:SetCountLimit(1)
e1:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
e1:SetLabelObject(tc) e1:SetLabelObject(tc)
e1:SetCondition(s.descon) e1:SetCondition(s.descon)
e1:SetOperation(aux.EPDestroyOperation) e1:SetOperation(aux.EPDestroyOperation)
......
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