Commit 2081949e authored by Huangnan's avatar Huangnan

fix

parent e429be9c
Pipeline #42678 failed with stages
in 4 minutes and 12 seconds
......@@ -15,7 +15,7 @@ function c82000610.initial_effect(c)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_DESTROYED)
e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e2:SetCondition(c82000610.con)
e2:SetCondition(c82000610.con1)
e2:SetOperation(c82000610.op)
c:RegisterEffect(e2)
end
......@@ -37,7 +37,7 @@ function c82000610.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
return true
else return false end
end
function c82000610.con(e,tp,eg,ep,ev,re,r,rp)
function c82000610.con1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_MZONE) and c:IsReason(REASON_EFFECT) and c:GetOverlayCount()==0
and c:IsLocation(LOCATION_GRAVE)
......
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