diff --git a/init.lua b/init.lua index 4bf3219..c8d4bfd 100644 --- a/init.lua +++ b/init.lua @@ -35,18 +35,26 @@ function toolranks.create_description(name, uses, level) end function toolranks.get_level(uses) - if uses <= 200 then + if uses <= 250 then return 1 - elseif uses < 400 then + elseif uses < 500 then return 2 elseif uses < 1000 then return 3 - elseif uses < 2000 then + elseif uses < 2500 then return 4 - elseif uses < 3200 then + elseif uses < 5000 then return 5 + elseif uses < 10000 then + return 6 + elseif uses < 25000 then + return 7 + elseif uses < 50000 then + return 8 + elseif uses < 100000 then + return 9 else - return 6 + return 10 end end