add leveling

This commit is contained in:
Stanislaw
2022-03-15 12:10:15 +01:00
parent f2371974cd
commit 4af3c0adfa
4 changed files with 45 additions and 7 deletions

5
src/functions/tools.js Normal file
View File

@@ -0,0 +1,5 @@
module.exports = {
lvl: function (exp) {
return Math.floor(Math.sqrt(exp) / 5);
},
};