Commit cbc64188 authored by nanahira's avatar nanahira

fixumi

parent 159fc60e
...@@ -138,6 +138,6 @@ function cm.disop2(e,tp,eg,ep,ev,re,r,rp) ...@@ -138,6 +138,6 @@ function cm.disop2(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.aclimit(e,re,tp) function cm.aclimit(e,re,tp)
local tc=e:GetLabelObject() local code=e:GetLabel()
return re:GetHandler():IsCode(tc:GetCode()) and not re:GetHandler():IsImmuneToEffect(e) return re:GetHandler():IsCode(code) and not re:GetHandler():IsImmuneToEffect(e)
end end
\ No newline at end of file
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