diff --git a/utils/functions/bedwars.js b/utils/functions/bedwars.js index 037445c..54c6def 100644 --- a/utils/functions/bedwars.js +++ b/utils/functions/bedwars.js @@ -1,3 +1,6 @@ +/* + Code used from the slothpixel project https://github.com/slothpixel/core +*/ function getExpForLevel(level) { if (level == 0) return 0; diff --git a/utils/functions/hypixel.js b/utils/functions/hypixel.js index 3dd8f10..ced5c87 100644 --- a/utils/functions/hypixel.js +++ b/utils/functions/hypixel.js @@ -1,3 +1,6 @@ +/* + Code used from the slothpixel project https://github.com/slothpixel/core +*/ const BASE = 10000; const GROWTH = 2500; const HALF_GROWTH = 0.5 * GROWTH; diff --git a/utils/functions/skywars.js b/utils/functions/skywars.js index bc75e9a..4bce25d 100644 --- a/utils/functions/skywars.js +++ b/utils/functions/skywars.js @@ -1,3 +1,6 @@ +/* + Code used from the slothpixel project https://github.com/slothpixel/core +*/ function skywarsLevel(xp) { var xps = [0, 20, 70, 150, 250, 500, 1000, 2000, 3500, 6000, 10000, 15000]; let exactLevel = 0