50 Commits

Author SHA1 Message Date
3203842249 Fix prize/loss numbers in hacker game 2022-02-24 11:59:58 +07:00
cc39bb26a0 Fix some bugs with the timestamps 2022-02-24 00:22:59 +07:00
31de79f1b6 PlayerEvents SQL and updates to the model 2022-02-23 18:54:23 +07:00
6d7ee2ed16 New player events model 2022-02-22 22:53:49 +07:00
fc56b4a64b updatePlayer, achievements, and find player queries 2022-02-22 13:06:22 +07:00
49d29a249a Query both DBs for user and player data 2022-02-22 11:31:05 +07:00
5df4ed9399 Finish adding back the class system, fix messaging 2022-02-22 10:47:49 +07:00
34b24c29aa Bring back class system 2022-02-22 00:35:02 +07:00
f354b9d6e8 Optimizing trainer so it hits the DB less often 2022-02-19 22:38:42 +07:00
cacd9a32b1 Optimizing from training steps 2022-02-19 20:17:23 +07:00
f7391682fd Steal embed improvements, bug fixes, more fields for Events 2022-02-18 00:37:25 +07:00
e51223df88 Changes and fixes to attributes 2022-02-17 16:12:25 +07:00
881fd12aa9 Model for the new RPG mechanics 2022-02-17 10:17:55 +07:00
c7ee6bfa6a Change events so it's a positive/negative dynamic and can be shared 2022-02-17 00:11:41 +07:00
7900bba3c3 Refactor for new inventory, events, and traits 2022-02-16 17:40:17 +07:00
9f756540f1 Rock Paper Scissors 2022-02-14 12:01:04 +07:00
537145dae6 Fix issue with new stealing related actions where it tries to get a weapon 2022-02-13 21:58:23 +07:00
04add71c6e Anti spam cooldown for player and a 12 hour global cooldown for victim 2022-02-13 20:12:04 +07:00
bb9c04fe6e First pass on thief game 2022-02-13 03:12:55 +07:00
dd33492418 Create IDiscordContext abstraction to simplify code 2022-02-13 00:49:18 +07:00
a0fbe76422 Don't shield up if it exists, fix messaging 2022-02-11 16:09:00 +07:00
785660558d New trainer bot flow that gifts weapons or money, plus achievement 2022-02-11 15:51:45 +07:00
213f9be2ee Should count defenses only 2022-02-10 00:59:16 +07:00
a785ba3120 Cooldowns done right. Fix shield sell exploit 2022-02-09 21:12:26 +07:00
59d28be90a Filter actions before sending the shield embed 2022-02-09 00:10:40 +07:00
7676981499 If it's the trainer bot, don't disable hack/shield buttons 2022-02-08 23:51:44 +07:00
8f8aebd6ac Several improvements and enhacements 2022-02-08 23:33:30 +07:00
feb2feb4dd Fix hacking bug when it's a failed hack 2022-02-07 23:39:45 +07:00
2603833fc6 Small improvements to the hack/shield embeds. Delete active shield after selling 2022-02-07 23:01:53 +07:00
dcf0bdb174 New store flow 2022-02-07 21:53:20 +07:00
36471195aa Read actual shield used in trainer, mention right hack target, slow things down 2022-02-03 18:42:49 +07:00
3b5852bcfb Assign Trainee role and alert player if they're in the wrong channel 2022-02-03 18:02:26 +07:00
7ebba3f61a Fix some leftover follow up messages and empty arsenal bugs 2022-02-03 15:26:44 +07:00
cd15a08e37 Make most commands deferred/follow up so they don't fail. bug fixes 2022-02-03 02:59:11 +07:00
12ba17de30 Print it nicer 2022-02-03 00:05:05 +07:00
d6888d5e4a Fix how we manage hack cooldowns 2022-02-02 22:27:22 +07:00
ad613064a8 Fixes to Trainer copy, Check if defender has money, bring back status (arsenal) 2022-02-02 00:07:08 +07:00
e772a6d6f3 Implement new Trainer improvements and clean up a few more things 2022-02-01 22:45:27 +07:00
ef3d5c58f5 Move some stuff around 2022-02-01 19:54:52 +07:00
79442352fa Improvements to hacker trainer, fixed bug selling arsenal items 2022-01-31 23:24:03 +07:00
7b48ff0a9b Fixing some trainer bugs, mapping value cause Mongo hates F# 2022-01-31 02:34:56 +07:00
7c8a460d5b Major refactor for new BattleItem/Action data models 2022-01-30 22:00:00 +07:00
d1cf329521 Stop player from hacking themself, don't check for trainer role, clean up 2022-01-30 17:49:37 +07:00
5f4bb71245 Check if player has inventory before starting. Testing autocomplete 2022-01-29 16:12:56 +07:00
9924460001 Check if the player has an empty hack inventory 2022-01-25 17:26:35 +07:00
48e726b3fa Adding the gifs 2022-01-24 04:15:15 +07:00
2553d789d1 Fix bugs with redpill, cooldowns, and store 2022-01-24 03:53:14 +07:00
ed68f0b87d Implement new hacker battle mechanics 2022-01-24 01:37:46 +07:00
308409a1bc New Embeds module to avoid duplication between trainer and hacker battle 2022-01-22 18:38:17 +07:00
a4d9926cfa Finishing new trainer flow 2022-01-22 14:13:24 +07:00