aboutsummaryrefslogtreecommitdiff
path: root/exp
diff options
context:
space:
mode:
Diffstat (limited to 'exp')
-rw-r--r--exp/functions.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/exp/functions.go b/exp/functions.go
index c69ef26..2cbe7bf 100644
--- a/exp/functions.go
+++ b/exp/functions.go
@@ -1,7 +1,6 @@
package exp
import (
- "github.com/anhgelus/gokord"
"math"
"slices"
)
@@ -43,14 +42,3 @@ func LevelXP(level uint) uint {
math.Pow(float64(5*level), 2),
))
}
-
-func Lose(time uint, xp uint) uint {
- if gokord.Debug {
- return uint(math.Floor(
- math.Pow(float64(time), 3) * math.Pow(10, -2+math.Log(float64(time))) * math.Floor(float64(xp/500)+1),
- )) // a little bit faster to lose exp
- }
- return uint(math.Floor(
- math.Pow(float64(time), 2) * math.Pow(10, -2+math.Log(float64(time/85))) * math.Floor(float64(xp/500)+1),
- ))
-}