Commit Graph

12 Commits

Author SHA1 Message Date
06575d280f DB: Add models and migration for badges 2023-02-27 01:56:44 +01:00
bbbcaaaf29 User/Debug/Profile: Add primary and secondary currency 2022-09-26 13:15:40 +02:00
a49a478972 History: Add currency and XP tracking 2022-09-21 17:18:12 +02:00
d8c18f8b01 User: Fix wrong rounding on level calculation
we have to floor it, otherwise we're always one level ahead
2022-09-12 22:22:15 +02:00
af3f1237c6 Stats: Add stats command to show a users data
like cards owned, level progression and date registered
2022-09-12 22:18:53 +02:00
9106192fd5 User: Fix type mismatch causing xp passed as a string to be appended
instead of being added as an increment.
2022-09-12 03:58:51 +02:00
ed7096fac0 User: Add experience / levels
Each drop and claim hands out 10 and 5 xp respectively.
The profile then renders the users current level based on
the formula 0.5 * sqrt(exp)
2022-09-12 03:37:45 +02:00
1206251ff6 Profiles: Add user profile model and command 2022-09-05 23:22:36 +02:00
addd3d9dee Models/User: Add instance method to get counted cards with chartcers 2022-09-05 22:26:59 +02:00
e21fc57f22 Add drop and pull cooldowns 2022-08-19 14:41:48 +02:00
05804cb78a Updated models and migrations to new spec 2022-08-17 19:36:47 +02:00
3dddae6dca Basic User and Guild registration 2022-04-17 16:07:57 +02:00