Added credits to the files

This commit is contained in:
2023-11-16 00:38:48 +01:00
parent b45fc07614
commit 0f65b4b858
3 changed files with 9 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
/*
Code used from the slothpixel project https://github.com/slothpixel/core
*/
function getExpForLevel(level) { function getExpForLevel(level) {
if (level == 0) return 0; if (level == 0) return 0;

View File

@@ -1,3 +1,6 @@
/*
Code used from the slothpixel project https://github.com/slothpixel/core
*/
const BASE = 10000; const BASE = 10000;
const GROWTH = 2500; const GROWTH = 2500;
const HALF_GROWTH = 0.5 * GROWTH; const HALF_GROWTH = 0.5 * GROWTH;

View File

@@ -1,3 +1,6 @@
/*
Code used from the slothpixel project https://github.com/slothpixel/core
*/
function skywarsLevel(xp) { function skywarsLevel(xp) {
var xps = [0, 20, 70, 150, 250, 500, 1000, 2000, 3500, 6000, 10000, 15000]; var xps = [0, 20, 70, 150, 250, 500, 1000, 2000, 3500, 6000, 10000, 15000];
let exactLevel = 0 let exactLevel = 0