From 9e6a5ce1d37d07e22383e2f6507117cc8e6ff85c Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Mon, 15 Apr 2024 16:12:19 +0200 Subject: feat(level): update roles on new level --- xp/functions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xp/functions.go') diff --git a/xp/functions.go b/xp/functions.go index e6979c0..196c3d3 100644 --- a/xp/functions.go +++ b/xp/functions.go @@ -28,6 +28,6 @@ func XPForLevel(level uint) uint { func Lose(time uint, xp uint) uint { return uint(math.Floor( - math.Pow(float64(time), 2) * math.Pow(10, -2+math.Log(float64(time/85))) * math.Floor(float64(time/500)), + math.Pow(float64(time), 2) * math.Pow(10, -2+math.Log(float64(time/85))) * math.Floor(float64(xp/500)), )) } -- cgit v1.2.3