Commit 52086825 authored by Amiya's avatar Amiya

修复

parent 0f9e842e
Pipeline #42598 passed with stages
in 1 minute and 51 seconds
...@@ -93,6 +93,11 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -93,6 +93,11 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end end
end end
end end
function s.aclimit(e,re,tp)
local c=re:GetHandler()
local tc=e:GetLabelObject()
return c:IsOriginalCodeRule(tc:GetOriginalCodeRule())
end
function s.accon(e) function s.accon(e)
return e:GetHandler():IsStatus(STATUS_SET_TURN) and e:GetHandler():IsLocation(LOCATION_ONFIELD) return e:GetHandler():IsStatus(STATUS_SET_TURN) and e:GetHandler():IsLocation(LOCATION_ONFIELD)
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