Commit a953d6a4 authored by mercury233's avatar mercury233

fix

parent d1bee252
......@@ -50,7 +50,7 @@ function c101010045.cfilter(c)
return c:IsPreviousLocation(LOCATION_ONFIELD) and c:IsReason(REASON_EFFECT)
end
function c101010045.descon1(e,tp,eg,ep,ev,re,r,rp)
return not re:GetHandler():IsCode(101010045) and eg:IsExists(c101010045.cfilter,1,nil)
return re and not re:GetHandler():IsCode(101010045) and eg:IsExists(c101010045.cfilter,1,nil)
end
function c101010045.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() 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