56 Commits

Author SHA1 Message Date
c1c51dcd99 Refactoring data model to new stuff 2022-02-16 00:36:29 +07:00
9f7b1956b4 Simplify stealing mechanic and finish RPS 2022-02-15 21:03:06 +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
18aeab599c Enforce channel and add action on all robbery attempts 2022-02-13 20:38:57 +07:00
04add71c6e Anti spam cooldown for player and a 12 hour global cooldown for victim 2022-02-13 20:12:04 +07:00
7e2b46a96b Stealing mechanic with different scenarios and maths, start RPS game 2022-02-13 17:39:12 +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
d563303f90 Change to formatting 2022-02-11 20:23:04 +07:00
b8f4e59cbe Small change to text 2022-02-11 20:20:05 +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
d311423ca2 Fix bug with excessive hacks reaching embed limit. Fuck it mention users 2022-02-09 22:36:13 +07:00
a785ba3120 Cooldowns done right. Fix shield sell exploit 2022-02-09 21:12:26 +07:00
8dbb5e1145 Revert cause it's using the wrong cooldown 2022-02-09 03:08:47 +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
b12dfe6788 Restore gifs 2022-02-07 23:50:01 +07:00
8632031ef3 Send message 2022-02-07 23:42:05 +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
0e3909d4f2 Enforce channel 2022-02-07 22:14:22 +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
87e0c063a8 Bring store back and fix typos 2022-02-02 03:05:52 +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
69545bf3a6 Reduce arsenal to 3 and 3 2022-01-31 23:46:50 +07:00
79442352fa Improvements to hacker trainer, fixed bug selling arsenal items 2022-01-31 23:24:03 +07:00
1bfcb4d32a Re-add actions 2022-01-31 22:00:59 +07:00
0c91db2b12 Disable player interactions bot 2022-01-31 20:40:09 +07:00
be6a7d4bd8 Send initial trainer message 2022-01-31 15:06:12 +07:00
8cdd9b5aa6 Remove extra redpill command 2022-01-31 14:11:45 +07:00
b014e9977e Fix random weapons 2022-01-31 13:43:20 +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
d329714aef Fixing DbService so it just reads and writes the player 2022-01-24 23:27:28 +07:00
3f42296818 Potential fix for leaderboards 2022-01-24 04:43:22 +07:00