hensei-api/app/controllers
Justin Edmund 00e5ec8c4b
API updates for Draconic Weapons Providence (#138)
* Make weapon key series an array

Draconic Weapons Providence can have original Draconic Weapon keys, but also have a new key that can only be equipped to them. Thanks, Cygames.

* Update weapon.rb

* Update to check key compatibility against an array instead of an int
* Add convenience function to check if the weapon is part of a Draconic Weapon series

* Update grid_weapon.rb

Update conflict detection to:
* Detect Draconic Weapons Providence
* Add multiple weapons to conflicting weapons instead of just one

* (WIP) Update conflict view rendering

Conflict blueprints should render multiple conflict weapons instead of just one.

Also adds Draconic Weapon Providence series to various places that check series by number

* Finish last bugs

We tested to ensure that conflict resolution appears for

* Opus and Draconic
* Draconic and Draconic 2
* Draconic 2 + Opus and Draconic 1
2023-12-26 03:21:06 -08:00
..
api/v1 API updates for Draconic Weapons Providence (#138) 2023-12-26 03:21:06 -08:00
concerns Restart on Rails 2020-09-14 18:30:54 -07:00
application_controller.rb Remove rabl 2022-12-21 01:16:34 -08:00
tokens_controller.rb Return the user's role in login and user blueprints (#133) 2023-09-09 02:29:32 -07:00