fantasy-statblocks icon indicating copy to clipboard operation
fantasy-statblocks copied to clipboard

🐞 Dice rollers display original text outside parentheses

Open jboehm77 opened this issue 1 year ago • 2 comments

Check for existing bug reports before submitting.

  • [x] I searched for existing Bug Reports and found no similar reports.

Expected Behavior

The Dice Roller plugin and general 5e formatting typically display dice notation (e.g. 1d12+4) inside parentheses with the expected result or average roll in front of the parentheses. The Fantasy Statblocks plugin used to render dice rollers in this fashion up until some point recently.

Current behaviour

The plugin currently displays the rolled result in parentheses and the actual dice notation preceding the parentheses, which is reverse to how it used to render and how most 5e formats display such text. See below for example.

Image

Reproduction

This happens with the Fantasy Statblocks and Dice Roller plugins installed out of the box.

Which Operating Systems are you using?

  • [ ] Android
  • [ ] iPhone/iPad
  • [ ] Linux
  • [ ] macOS
  • [x] Windows

Obsidian Version Check

1.8.4

Plugin Version

4.8.1

Confirmation

  • [x] I have disabled all other plugins and the issue still persists.

Possible solution

No response

jboehm77 avatar Feb 14 '25 06:02 jboehm77

Image

It seems you have a solution to switch parenthesis ?

Tr0n34 avatar Feb 25 '25 16:02 Tr0n34

Toggling that setting in the Dice Roller plugin doesn't affect statblocks. The Fantasy Statblocks plugin handles dice uniquely. It would be nice to have a setting in either plugin to set the preferred default renderring format for statblocks.

jboehm77 avatar Feb 25 '25 17:02 jboehm77