Commit 125c9b2e authored by GuGu's avatar GuGu

Update c20172.lua 2效果重置

parent 8ad53b19
Pipeline #17097 passed with stage
in 1 minute and 59 seconds
......@@ -93,8 +93,10 @@ function c20172.reop(e,tp,eg,ep,ev,re,r,rp)
e1:SetValue(c20172.reqlimit)
e1:SetLabelObject(tc)
c:RegisterEffect(e1)
--Destroy
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetCode(EVENT_LEAVE_FIELD)
e2:SetOperation(c20172.redop)
c:RegisterEffect(e2)
......@@ -103,9 +105,10 @@ end
function c20172.redop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=c:GetFirstCardTarget()
if tc and tc:IsLocation(LOCATION_MZONE) then
if tc and tc:IsLocation(LOCATION_MZONE) and not c:IsDisabled() then
Duel.Destroy(tc,REASON_EFFECT)
end
e:Reset()
end
function c20172.eqlimit(e,c)
return c:IsSetCard(0x713)
......
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