A few improvements have been made to the number() and rollable() custom fields.
Using number() in notes
The number() custom field is now able to be used in the main object notes as well as statblocks.
New display options for rollable() fields
In addition, rollable() fields also have new options for controlling how the label text is displayed:
compact | Reduces any modifier numbers down to a single value. |
mods | Hides the dice part of the notation from the label to show just any modifiers. |
If you provide label text, it will still be shown regardless of using the compact or mods settings.
Examples
rollable(dice=1d20+2+3,compact) displays as 1d20+5 and will roll that on click.
rollable(dice=1d20+2+3,compact,mods) display as +5 and will roll 1d20+5 on click
New calculated field
A new calc() option is now available which mostly mirrors the functionality of rollable(), but doesn’t include the dice rolling icon. This includes the new compact and mods options.