Commit Graph

18 Commits

Author SHA1 Message Date
692904d462 Trade: Add tradehistories table
and create rows at the end of each trade.
Both users traded cards are logged.
2023-01-12 14:43:06 +01:00
16bb46403b Burn: Added card burning for notes and gems 2022-09-26 16:09:23 +02: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
dcb7e334e2 History: Add details to drop history and split by type
that being 0 for drops and 1 for claims.
Fixes #16
2022-09-21 13:35:43 +02:00
f021234e45 Profile: Add initial default customStatus and allow empty values
Fixes #20
2022-09-21 12:49:21 +02:00
826834ebab History: Add record history table 2022-09-14 18:24:10 +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
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
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