Improved Dice Buttons (Patreon)
Content
After being out for two weeks I'm finally back and I just released an update to custom statblocks that enables you to add stat modifier to rolls. Also dice buttons can now also be added to markdown structures like tables or lists. This can be used for various things, but generally makes it easier and more flexible to add automatic dice roll buttons to abilities.
The old syntax for dice buttons is still valid. So typing 3d12+4 will automatically create a dice button. But to add a dice button within a table or list you have to mark it as a inline-code block. This is down by adding a `before and after the dice notation. This needs to be done so I can properly escape the dice buttons while maintaining backwards compatibility.
Buttons in Tables
This can be useful when defining what happens on higher levels and would look something like this:
Buttons with Stat Modifiers
Additionally you can now type 2d10+STR and the button will automatically take the STR Bonus and add it as modifier to the dice button. This works everywhere, so even in Actions or Special Abilities you can make use of this new functionality.