Closed PJBrs closed 2 months ago
Makes sense. Would you mind adding an example of this to the test sheets.
ie. Setting and then unsetting a slot and verifying it’s not filled and maybe also setting, unsetting and then resetting and verifying it’s set
Happy to merge after that
edit: just do this to one that would already be set/unset there’s no need to regenerate the comparison sheets
Done, you'll see that the second spell page has two spellslots set as unprepared, which were prepared at the first page. I'll admit that I didn't make a character that had three spell pages, with one spell slot prepared, than unprepared, than prepared again. But I think the above exhibits the principle well enough, I hope you'll agree :-)
Looks great, thanks for the contribution
Hi Mat,
Commit message basically says it all:
Once a spellslot was set as prepared, it would remain set as prepared for any subsequent pages. This patch allows the user to also unset a spellslot as prepared.
I found this out while implementing overflow spell pages for your template in dungeon-sheets, and noticed that spellslots kept being listed as prepared, even when I explicitly set them as not prepared.