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 bd6d5f2 commit 009ee02Copy full SHA for 009ee02
app.py
@@ -92,13 +92,13 @@ def add_xp(self, amount: float) -> None: # add XP
92
amount
93
* self.multiplier
94
* self.time_multiplier
95
- * (1 + 5.0 / (abs(time_difference_seconds) + 1))
+ * (1 + 5.0 / (abs(time_difference_seconds) + 1.0))
96
) # add XP by amount
97
self.total_xp += round(
98
99
100
101
102
) # add total XP by amount
103
self.check_level_up() # check if user has leveled up
104
0 commit comments