Beyond20 icon indicating copy to clipboard operation
Beyond20 copied to clipboard

Minor display bug: negative modifiers

Open Ribcourt opened this issue 2 years ago • 2 comments

Describe the bug Rolling to Discord from DndBeyond with a negative modifier, the resolved values are signed positive in Discord. Dice formulas and results are shown correct.

Adding a negative Custom Modifier or negative Custom Damage via hotkey, the resolved dices are signed positive in Discord. Dice formulas and results are shown correct.

Using a homebrew magic weapon with a negativ modifier has the same effect

To Reproduce Steps to reproduce the behavior:

  1. Add a Hotkey with a negative Custom Modifier/Damage
  2. Roll to Discord with Hotkey

Steps to reproduce the behavior:

  1. Create a Homebrew Magic Weapon with a negative modifier
  2. Roll attack to Discord

Expected behavior Resolved Dice should be signed negative.

Browser Info (please complete the following information):

  • Browser Chrome
  • Version 102.0.5005.115
  • Beyond 20 2.6.3

Screenshots Hotkey Discord_Result Weapon Discord_Result_Weapon

Ribcourt avatar Jun 13 '22 13:06 Ribcourt

Good catch, thanks! While this is technically the right repo for the issue, I'll transfer it to the Beyond20 repo instead which is where we do the triage and "milestone-ing" of issues for release. Thanks!

kakaroto avatar Jun 23 '22 03:06 kakaroto

@kakaroto what did you do...

This is pretty funny

Aeristoka avatar Jun 23 '22 03:06 Aeristoka