summaryrefslogtreecommitdiff
path: root/player.py
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-18 14:25:53 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-18 14:25:53 -0300
commitc8dda24a93664933d476aa4724a73cbfcf240db8 (patch)
treebdb89979d8e1399ca62d0f7b75eeb04517f5dc6d /player.py
parent1553cd2d76ee09e7efaa3fcda5af7f1b4288a2e9 (diff)
downloadserver-c8dda24a93664933d476aa4724a73cbfcf240db8.tar.gz
server-c8dda24a93664933d476aa4724a73cbfcf240db8.tar.bz2
server-c8dda24a93664933d476aa4724a73cbfcf240db8.tar.xz
server-c8dda24a93664933d476aa4724a73cbfcf240db8.zip
Make experience table to rank up steeper.
We really should read a table instead of using a formula...
Diffstat (limited to 'player.py')
-rw-r--r--player.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/player.py b/player.py
index a580216..b4b378a 100644
--- a/player.py
+++ b/player.py
@@ -213,14 +213,14 @@ def clear(token, mask=SQL_CLEAR):
def exp_to_lvlup(level):
# How much exp to rank up?
- nmult=20.0
+ nmult=50.0
nmult+=level/35.0
nmult+=level/10.0
nmult+=level/6.0
nmult+=level/2.0
nmult=nmult**1.01
next_exp=int(level*nmult)
- stdout("nmult is %.2f, exp needed: %d" % (nmult, next_exp))
+ #stdout("nmult is %.2f, exp needed: %d" % (nmult, next_exp))
return next_exp
# Check if player ranked up