Commit Graph

18 Commits

Author SHA1 Message Date
826834ebab History: Add record history table 2022-09-14 18:24:10 +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
bba51cea2e Models/Cards: Fix errroneous data type of field userId 2022-09-05 22:32:17 +02:00
addd3d9dee Models/User: Add instance method to get counted cards with chartcers 2022-09-05 22:26:59 +02:00
dea943bee4 Drop: Add drop history 2022-08-28 22:19:03 +02:00
3f53e33598 WIP Card rendering
Render card stacks on drops
Unclaimed cards are hidden, when expired they are shown as grayscale
2022-08-20 03:35:36 +02:00
e21fc57f22 Add drop and pull cooldowns 2022-08-19 14:41:48 +02:00
51e90dee8a Add helper function for bot settings
and fix registration check always returning true
2022-08-19 14:14:24 +02:00
ae60732836 WIP basic card dropping 2022-08-18 19:24:44 +02:00
05804cb78a Updated models and migrations to new spec 2022-08-17 19:36:47 +02:00
9f568dbbdb Add card and character tables 2022-04-17 19:38:50 +02:00
0419733925 Configure sequelize using config.js and sequelizerc 2022-04-17 16:40:38 +02:00
3dddae6dca Basic User and Guild registration 2022-04-17 16:07:57 +02:00
be2991cd50 Use sequelize 2022-04-17 15:19:12 +02:00