The document-level code for v13.2.3 stable version of MPMB's Character Record Sheet.
Note that this repository only includes the SRD content (D&D 5e, 2014) and that these files alone are not enough to create the PDF character sheet.
Important
For D&D 5e (2014).
Code changes
Changelog
- Changed the behaviour of
action
attribute slightly. The sheet is now more selective when to amend the second array entry to the feature’s name, only when one of these is the first character of the string:/,;:'+-
(this includes a space). - Changed adventure gear that can be used with a ranged attack to add ability modifier to damage because of clarifications by Jeremy Crawford and RPG Stack Exchange (thanks Selene for bringing up this issue):
- Alchemist Fire now deals 1d4+mod Bludgeoning damage (the impact) and 1d4 fire on subsequent turns.
- Vials of Acid and Holy Water now add the ability modifier to damage.
- Added option for
spellcastingKnown.prepared
of a Class(Sub)List object to be an array. This accommodates the fixed number of prepared spells from the 2024 rules. - Added Yak as an alternative name for the Elk (#81, thanks Lena for reporting).
- Added the ability to use fractions for cantrip die in
descriptionCantripDie
of a SpellsList object. E.g. nowC*0.5
works for half cantrip die progression (thanks xika for the suggestion). - Added
noStealthDis
andforceStealthDis
properties to thearmorAdd
object and to thechooseGear
object of magic items. This allows any feature adding armour to have control of stealth disadvantage being set or not (thanks Reading Toskr for the suggestion). For example, Mithral Armour uses this attribute. - Improved the prepared spell selection dialog to include bonuses from modifier fields and
calcChanges. spellCalc
in the displayed calculation. - Improved the
chooseGear
attribute for magic items to add the “between” option forprefixOrSuffix
. This way you have more control of the magic item in the drop-down box, but beware that you need to add anameTest
with regular expression for this to work. - Fixed for
ParseAmmo
only using the object name and not thename
attribute to test for a possible match (thanks sika for bringing this to my attention). - Fixed for spell attack and DC being used wrongly on the 1st page if no ability score is selected on the spell sheet.
- Fixed not being able to only remove the 7th ability score from the scores dialog (thanks Bénahek for reporting).
- Fixed colour of the 1st-page dragon head of the Printer-Friendly Redesign sheet from reddish black to rich black.
- Fixed several magic items, typos, missing actions and attunement requirements (thanks Reading Toskr for this).
- Fixed metric conversion of small amounts of cubic feet coming out as 0 m3 (MBUG-137, thanks Xika for reporting).
- Fixed imperial conversion failing for ‘m2’, ‘m3’ and ‘Celsius’.
- Fixed “out of memory” error message causing an error (irony…).
- Improved error message for Adobe Acrobat bug where pages aren’t properly removed (thanks AMysteriousStranger for reporting).