Commit graph

254 commits

Author SHA1 Message Date
0ff7e7a8dd Add JobAccessory model and add type to schema
We need type because we don't want to hardcode job ids in scripts
2023-01-23 20:52:06 -08:00
3ced0c6523 Upgrade to rails 7 2023-01-23 01:01:08 -08:00
99578d33ee
Merge branch 'staging' into job-icons 2023-01-22 23:15:31 -08:00
0797306569
Merge pull request #47 from jedmund/transcendence
Adds support for transcendence
2023-01-22 23:14:40 -08:00
ee7085f65e
Merge branch 'staging' into summon-renewal 2023-01-22 23:12:57 -08:00
6ecc2a706c
Merge branch 'staging' into remix-teams 2023-01-22 23:09:55 -08:00
ed76afe44c Add granblue_id to Job output 2023-01-22 22:31:25 -08:00
a8a0a5944c Merge branch 'summon-renewal' into transcendence 2023-01-22 21:24:28 -08:00
d343adeca3 Merge branch 'character-mods' into summon-renewal 2023-01-22 21:24:14 -08:00
bd15d91cdd Fix grid character creation
Grid characters were only replacing the character when replacing an existing character, so the mods were persisted. This creates a new GridCharacter every time a replacement happens and destroys the old one.
2023-01-22 21:24:00 -08:00
5460a1d167 Reset transcendence step on uncap 2023-01-22 21:02:19 -08:00
b248fb62ea Add transcendence_step to output 2023-01-22 21:02:06 -08:00
422651668e Permit transcendence_step 2023-01-22 20:41:24 -08:00
8c1fae02d4 Add update method to GridSummonsController 2023-01-22 20:37:52 -08:00
bb79f68a2c Remove extraneous code 2023-01-22 20:37:15 -08:00
cfee8b0b31 Support for frontend transcendence
Set transcendence step when updating uncap level
2023-01-22 19:58:45 -08:00
cf270f0243 Add XLB and stats to JSON output 2023-01-22 19:57:57 -08:00
67cc1138e6 Implements limits on GridSummons 2023-01-21 18:44:25 -08:00
c5f2c9d080 Implement deleting summons 2023-01-21 15:41:16 -08:00
633db43e94 Implement removing characters and weapons 2023-01-20 21:39:20 -08:00
73022778f6 Add server-side validation for OM and AM rings
Note: Over mastery is not validating properly yet
2023-01-09 01:51:38 -08:00
18ca78a272 Implement localized remix names 2023-01-09 00:29:12 -08:00
f73593d8e1 Blank values using defaults instead of null 2023-01-09 00:29:01 -08:00
79b9b4e225 Exclude certain values from remixing 2023-01-09 00:05:18 -08:00
b6e8dd93b1 Add party validation and inverse to GridObject associations 2023-01-08 21:50:30 -08:00
fa2962ae1c Add remix method to parties controller 2023-01-08 21:50:30 -08:00
a3e76d53e7 Add amoeba configuration to Party 2023-01-08 21:50:30 -08:00
1925678888 Return when no params 2023-01-08 21:50:30 -08:00
b0b446aba3 Fix set_from_slug 2023-01-08 21:50:30 -08:00
433bd19f6d Fix party creation 2023-01-08 21:50:30 -08:00
2a465aca3b Move shortcode setting to before_save on Party model 2023-01-08 21:50:30 -08:00
70bbd47606 Add endpoint and stub method 2023-01-08 21:49:57 -08:00
3f914d3be7 Merge branch 'main' into character-mods 2023-01-08 05:54:00 -08:00
78df1df683 Allow empty strong params 2023-01-08 01:30:12 -08:00
382b2e2a92 Enable extra if the GridWeapon is in position 9, 10, 11 2023-01-08 01:16:43 -08:00
beeeef3104 TEMP: Comment out problematic code
We don't ever send parameters when posting a party, so for now we don't need to worry about this.

We can't leave this like this though: You should be able to send a complete party in the future (for API creation via strings)
2023-01-08 01:16:25 -08:00
8f9bd0077e Add new fields to output of GridCharacter 2023-01-07 07:51:54 -08:00
3617088418 Add update method for GridCharacter and other utils
* Add check_authorization for before update and eventually destroy runs
* Update permitted parameters
2023-01-07 07:51:40 -08:00
5351123aa2 Add basic validation for various mastery bonuses
* Ensure transcendence is possible on that character
* Ensure transcendence_step is in bounds
* Ensure Over Mastery Attack is a valid value
* Ensure Over Mastery HP is a valid value
* Ensure Over Mastery Attack is 2x Over Mastery HP
* Ensure Awakening level is in bounds
2023-01-07 07:51:04 -08:00
3226acdf4a Allow input of expanded details and output them 2023-01-03 08:05:47 -08:00
fb037b3249 Fix testing conflict_characters 2023-01-03 02:41:38 -08:00
5e4cb4fe2b Fix reference to weapon series 2023-01-03 02:41:30 -08:00
a5237d2fa0 Add AX type to blueprint 2023-01-02 21:32:11 -08:00
83c6b2397a Refactor weapon conflicts into model validations 2023-01-02 21:24:53 -08:00
c39abfe8d6 Fix AX reference
Was using int, now uses bool
2023-01-02 21:24:43 -08:00
1789dcee4b Move conflict detection code to GridWeapon 2023-01-02 16:25:35 -08:00
eaa6234714 Refactor skills_are_unique 2023-01-02 16:25:35 -08:00
9387bd321f Refactor GridCharactersController
This is a similar refactor to GridWeaponsController
2023-01-02 16:25:35 -08:00
ebbbdc174b Fix bug in GridCharactersController refactor
This would show a conflict modal for any weapon as long as one of the weapons was an opus or draconic
2023-01-02 16:25:35 -08:00
839be176ad Revert gridweaponscontroller refactor 2022-12-30 15:39:47 -08:00