D&D 5e Modifiers

  Markdown

If you are using DND 5e, or a compatible system, then you can display modifiers that are automatically calculated from other numbers (e.g. the strength, dex, etc. modifiers).

mod5e(value=fieldname[,show_symbol,dice=dice notation,dicelabel=dice label text])

valueRequiredThe name of a number() value to display the modifier for.
show_symbolOptionalIf included, the number will be shown with a + symbol before it for any positive number (and 0).
diceOptionalMakes this number able to roll digital dice, defined by the standard dice notation here. See Digital Dice Rolling: Dice Notation for more information.
dicelabelOptionalIf dice is specified, specifies the title on the dice notification.