diff --git a/xp.go b/xp.go index e1da77a..bd8906f 100644 --- a/xp.go +++ b/xp.go @@ -81,8 +81,8 @@ func calculateIncrement(discordID string) int { } //Constructed on Desmos: - //y=\frac{100}{\left(1+e^{-\left(x-5\right)}\right)} - return int(100 / (1 + math.Pow(math.E, -(delta.Seconds()-5)))) + //y=\frac{100}{\left(1+e^{-\left(\frac{x}{2}-5\right)}\right)} + return int(100 / (1 + math.Pow(math.E, -((delta.Seconds()/2)-5)))) } func convertXPIntoLevel(xp int) (int, int) {