aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-04-14 15:46:23 +0200
committerAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-04-14 15:46:23 +0200
commit55b25ef62d9ccd9c823885a4ac8633e60174e445 (patch)
treeea3e6822e9da865adb576dbdd3b3a69bc5b22692
parent80a7a90208d6224bb3c9497475f50517aa490960 (diff)
docs(info): simplify some functions in readme
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 1326e55..0ab7ab8 100644
--- a/README.md
+++ b/README.md
@@ -11,12 +11,12 @@ Bot for the private server Discord "Les Copaings"
### XP
Functions:
-- $xp-message(x;y) = \frac{0.025 x^{1.25}}{y^{-0.5}}+1$ where $x$ is the length of the message and $y$ is the diversity of the
+- $xp-message(x;y) = 0.025 x^{1.25}y^{0.5}+1$ where $x$ is the length of the message and $y$ is the diversity of the
message (number of different rune)
- $xp-vocal(x)=0.01 x^{1.3}+1$ where $x$ is the time spent in vocal (in second)
- $level(x)=0.2 x^{0.5}$ where $x$ is the xp
- $level^{-1}(x)=(5x)^2$ where $x$ is the level
-- $lose(x,y)= 10^{-2+\ln(x/85)}x^2\cdot\lfloor y/100 \rfloor$ where $x$ is the inactivity time (hour) and $y$ is the xp
+- $lose(x,y)= x^2\cdot 10^{-2+\ln(x/85)}\cdot\lfloor y/100 \rfloor$ where $x$ is the inactivity time (hour) and $y$ is the xp
## Technologies