Commit graph

16 commits

Author SHA1 Message Date
3e77365635 Refactor #create
This method is humongous and very confusing, and often gives double render errors. This refactor breaks things up into smaller methods to help make it a bit more readable.
2022-12-30 05:08:40 -08:00
adbb5b6c7d Disallow adding arbitrary weapons to Extra slots 2022-12-25 00:23:27 -08:00
ec25230bc5 Implement detecting and resolving weapon conflicts 2022-12-24 23:30:10 -08:00
574d8e0b3e Normalize constants in ApiController 2022-12-23 19:08:36 -08:00
464fe2f1aa Update output for GridObjects when uncapping 2022-12-22 23:41:04 -08:00
116ec9dbbc Refactor GridObjectControllers to use blueprinter 2022-12-21 20:53:48 -08:00
c1716c1e4f Run RuboCop on everything
yolo
2022-12-21 00:22:47 -08:00
62543858bd Fix a small variable bug in GridWeapons Controller 2022-03-06 03:47:28 -08:00
1c08d64b55 Fix grid_weapon not being able to be created 2022-03-04 14:54:36 -08:00
b7500617e3 Trying to fix DoubleRenderError 2022-03-03 17:10:03 -08:00
92ef43abcd Add a rudimentary update method
We still need to do server-side validation since a lot of things can go wrong here if users get cheeky
2022-03-03 00:22:11 -08:00
2a40abf08f Save the party's element when the mainhand is changed 2022-02-26 20:47:09 -08:00
66f281714b Add routes for updating the uncap level of an object 2022-02-01 03:28:57 -08:00
5d5a09f552 Fix saving weapons to parties 2020-09-26 10:51:03 -07:00
071f6b4664 Controllers should inherit from ApiController 2020-09-19 12:46:24 -07:00
993fc30f91 Add GridWeaponsController 2020-09-16 03:43:08 -07:00