26 Commits

Author SHA1 Message Date
2f63f172c2 DB: Add fields for custom profile backgrounds 2023-08-07 17:34:19 +02:00
4b598cadbf DB: Add fields for ping settings 2023-04-05 15:23:42 +02:00
89448d01cb DB: Rename Bots column pullTimeout to claimTimeout 2023-03-13 03:26:57 +01:00
cb01327c7d DB: Change patreonTierRoles column to type STRING 2023-03-12 17:41:21 +01:00
0af9038b6e DB: Add and migrate columns in preparation for patreon perks
Renaming nextDrop/Pull required a bit of a hack resulting in
it no longer having a default value.
2023-03-09 23:29:46 +01:00
06575d280f DB: Add models and migration for badges 2023-02-27 01:56:44 +01:00
1dde3a0a8c DB: Add auto_increment to Characters and Groups
starting at a very high ID because I was too lazy to migrate existing data
as it is referenced in json blobs.
Part of Issue #43
2023-02-25 01:55:27 +01:00
3b67c140af DB: Generalize table and model names 2023-02-24 23:51:32 +01:00
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