Commit e259c4bb authored by wyykak's avatar wyykak

element fix by sama

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 396f738a
......@@ -28,7 +28,7 @@ if not TET.ELCounter then
eg:Reset()
end
--无
if (not class._n[tp]) or (class._n[tp][1] == 0) then
if (not class._n[tp]) or (class._n[tp][1] == 0) or (class._n[tp][0] == 0) then
if code==Anemo then return end
count = num
genso = code
......@@ -324,7 +324,7 @@ if not TET.ELCounter then
end
--归零清除
if count == 0 then
genso = nil
genso = 0
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