We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 119eeeb commit e4ef7ccCopy full SHA for e4ef7cc
app.py
@@ -49,7 +49,7 @@ def check_level_up(self): # check if user has leveled up
49
self.xp_required
50
+ max(1.0, self.xp_required * 1.0 / math.sqrt(self.level))
51
),
52
- )
+ ) # increase XP required exponentially with slower growth at higher levels
53
self.level += 1 # increase level
54
55
def get_xp_required(self): # get required XP to next level
0 commit comments