The document-level code for v13.2.1 stable version of MPMB's Character Record Sheet.
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
- Overhauled how spells and cantrips in the attack section on the 1st page have their To Hit calculated, fixing issues with magic items granting bonuses where they shouldn’t and not showing the highest DC/To Hit from all spellcasting classes in case of a multiclass.
- Overhauled how the sheet decides which ability score to select for spells and cantrips in the attack section on the 1st page.
- Improved the error message when importing a faulty add-on script, it now includes more details about the error.
- Changed buttons and text in the import script dialogs to refer to the MPMB Community Add-on Script Index.
- Added
getProfBonus
function to have an easier syntax for retrieving the proficiency bonus. - Fixed
weaponsAdd.options
not working (MBUG-136, thanks TrackAtNite for reporting). - Fixed
calcChanges.spellCalc
not stacking when they should. - Fixed instances of using deprecated syntax (things not being arrays when they should).