javalent / dice-roller

Inline dice rolling for Obsidian.md
265 stars 27 forks source link

🐞 Min/Max rolls result in only min or max Value #304

Closed alkanex-xyz closed 3 months ago

alkanex-xyz commented 4 months ago

Check for existing bug reports before submitting.

Expected Behavior

On testing Min/Max rolls the resultes should be in the rage of the provided min and max values

Current behaviour

The result of Min/max rolls exclude all values between the provided range and result only in the Min or Max Value. Min_max

Reproduction

I used this formular: dice: 10d[5, 15]

Which Operating Systems are you using?

Obsidian Version Check

1.5.11

Plugin Version

10.4.6

Confirmation

Possible solution

No response

AustinYQM commented 3 months ago

I believe I have fixed this in my PR.

image