diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-12-18 14:25:53 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-12-18 14:25:53 -0300 |
commit | c8dda24a93664933d476aa4724a73cbfcf240db8 (patch) | |
tree | bdb89979d8e1399ca62d0f7b75eeb04517f5dc6d /player.py | |
parent | 1553cd2d76ee09e7efaa3fcda5af7f1b4288a2e9 (diff) | |
download | server-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.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |