--// via https://vesteria.fandom.com/wiki/Levels
local xp = {
172,
374,
670,
1227,
2263,
4138,
7374,
12679,
20979,
33444,
76945,
10635,
158536,
219964,
299334,
400366,
527136,
68404,
36109,
79706,
1111718,
1730815,
2130132,
2600135,
3149829,
3788953,
4528008,
5378289,
309550,
351383,
397361,
447753,
502833,
562886,
13555249,
0,
0,
23107204,
26181733,
29575279,
0,
0,
41918131,
46841950,
}
--return
local f = math.floor
local calc = function(currentlevel,mobminXP,mobmaxXP)
mobmaxXP = mobmaxXP or mobminXP
print("You need about "..f(xp[currentlevel]/mobminXP)..
" to "..f(xp[currentlevel]/mobmaxXP).." kills.")
end
calc(18,1500,4000)