I had a Sorcerer 5 and added a level of Warlock. When I went to pick Warlock spells, I selected my first Warlock Cantrip and when I attempted to learn the second, the "Learn" button did nothing. I thought it might be a javascript issue on the page, so I reloaded and now both spell lists say I have 6 cantrips learned (6/5 for sorcerer and 6/2 for warlock).
After a bit more experimenting, the following seems to reproduce the issue every time:
With the multiclass selected but no spells picked for the warlock
Open Add spells for Warlock and select a Warlock only Cantrip like Eldritch Blast (possibly 1st and up work too, but I just used Cantrips)
Reload the page. Sorcerer spell list is OK, but Warlock says 5/2 Cantrips
The warlock known spells list shows all the known spells from the Sorcerer list that are also available for Warlock, even though none of them were selected yet. (Including 2nd and 3rd level spells)
Picking a cantrip from the Warlock list that is also on the Sorcerer list looks like it will similarly mess up the Sorcerer list. If I try to Remove a spell from a list it isn't really learned on, I see:
404 Error (code 2)
SPELL_REMOVE: That spell was not found for that class/character combination.
Which leads me to believe that the issue exists on the front-end only. I checked the JSON that comes down with the character, and the `spells` array for Sorcerer includes all of the spells that the character knows that are available as Sorcerer spells, regardless of which class they should be associated with, and similarly for the Warlock. As long as I only pick spells that are only available to one of the spellcasting classes everything works fine, but if I pick one that is available on both lists, it gets associated with both classes when it's sent to the browser.
I too noticed this when I was levelling up my Sorcerer/Warlock. I tried removing all the spells from the list figuring it might have been an array corruption due to the recent change in how spells are displayed/managed. But, alas, after reloading all the spells and refreshing the page the errors come back. Thankfully it doesn't appear to affect playability it just populates both lists wherever there is crossover. I can still choose spell level and pact magic or spell slot. Thanks to the OP for doing all the major grunt work!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I had a Sorcerer 5 and added a level of Warlock. When I went to pick Warlock spells, I selected my first Warlock Cantrip and when I attempted to learn the second, the "Learn" button did nothing. I thought it might be a javascript issue on the page, so I reloaded and now both spell lists say I have 6 cantrips learned (6/5 for sorcerer and 6/2 for warlock).
After a bit more experimenting, the following seems to reproduce the issue every time:
Picking a cantrip from the Warlock list that is also on the Sorcerer list looks like it will similarly mess up the Sorcerer list. If I try to Remove a spell from a list it isn't really learned on, I see:
404 Error (code 2)
Which leads me to believe that the issue exists on the front-end only.I checked the JSON that comes down with the character, and the `spells` array for Sorcerer includes all of the spells that the character knows that are available as Sorcerer spells, regardless of which class they should be associated with, and similarly for the Warlock. As long as I only pick spells that are only available to one of the spellcasting classes everything works fine, but if I pick one that is available on both lists, it gets associated with both classes when it's sent to the browser.I too noticed this when I was levelling up my Sorcerer/Warlock. I tried removing all the spells from the list figuring it might have been an array corruption due to the recent change in how spells are displayed/managed. But, alas, after reloading all the spells and refreshing the page the errors come back. Thankfully it doesn't appear to affect playability it just populates both lists wherever there is crossover. I can still choose spell level and pact magic or spell slot. Thanks to the OP for doing all the major grunt work!