This commit is contained in:
rockyhawk64 2021-08-10 16:55:51 +10:00
parent cc49f52396
commit b9854fa6e9

View File

@ -319,6 +319,9 @@ public class CommandTags {
//Experience math is a bit doggy doo doo so these will help to calculate values
// Calculate total experience up to a level
// @author thelonelywolf@https://github.com/TheLonelyWolf1
// @date 06 August 2021
private int getExpAtLevel(int level){
if(level <= 16){
return (int) (Math.pow(level,2) + 6*level);