The document-level code for v13.0.7 beta version of MPMB's Character Record Sheet, originally released on 6 July 2021.
Note that this repository only includes the SRD content and that these files alone are not enough to create the PDF character sheet.
Code changes
Changelog
- Added a way for backgrounds to add ability score improvements (for consistency with other features).
- Added a way for races to inherit traits from a previously selected race to accommodate the new lineage mechanic (set this with the
useFromPreviousRace
attribute). - Updated the spell sheet glossary to be better organised, include “chk” and “S:30-ft rad”, and have the newer sources listed.
- Reworked how the sheet handles bonus damage additions to spell descriptions: moved away from having an exhaustive function and made new SpellList object attributes that govern this process.
- Made it possible to disable dynamic spell changes in the final spell selection dialog.
- Made the Choose Feature menu always display a source for each option.
- Improved compatibility between dynamic spell changes and spells gained from magic items.
- Improved display of source when adding notes through the
toNotesPage
attribute. - Added option to disable upcasting of a singular spell (with the
spellChanges
attribute). - Added option to have the sheet ask which spellcasting ability to use (
abilitySpellcasting
can now be an array). - Fixed errors for features that grant bonus extrachoices that have a class level prerequisite.
- Fixed error where features that grant bonus extrachoices didn’t get removed from the Choose Feature menu when the feature was removed.
- Fixed features taken through a feature that grants bonus extrachoices not showing up on the spell sheets.
- Fixed not applying the
autoSelectExtrachoices
of an (optional) class feature choice. - Fixed spells from feats, magic items, and race not appearing on the spell pages.
- Fixed issue with not being able to change the spellcasting ability score for magic items.