Commit 233b9e24 authored by DailyShana's avatar DailyShana

update AddCounter

parent ca4d590f
......@@ -51,7 +51,7 @@ end
function c40089744.acop(e,tp,eg,ep,ev,re,r,rp)
local ct=eg:FilterCount(c40089744.cfilter,nil)
if ct>0 then
e:GetHandler():AddCounter(0x3001,ct)
e:GetHandler():AddCounter(0x3001,ct,true)
end
end
function c40089744.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
......
......@@ -39,7 +39,7 @@ end
function c56111151.counter(e,tp,eg,ep,ev,re,r,rp)
local ct=eg:FilterCount(c56111151.cfilter,nil)
if ct>0 then
e:GetHandler():AddCounter(0x37+COUNTER_NEED_ENABLE,ct)
e:GetHandler():AddCounter(0x37+COUNTER_NEED_ENABLE,ct,true)
end
end
function c56111151.thfilter(c)
......
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