Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

D6 explode with count of results higher than 7 #350

Open
3 of 7 tasks
dustyghost opened this issue Oct 16, 2024 · 4 comments
Open
3 of 7 tasks

D6 explode with count of results higher than 7 #350

dustyghost opened this issue Oct 16, 2024 · 4 comments

Comments

@dustyghost
Copy link

dustyghost commented Oct 16, 2024

Check for existing bug reports before submitting.

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

Expected Behavior

dice: 4d6!!>=7

Thought this would roll, explode and combine, then count results over 7, but it seems not to explode at all.

Current behaviour

4d6!!>=7 -> [4, 4, 6, 6] -> 20
4d6!!>=7 -> [6, 1, 3, 4] -> 14

**EDIT: I have just seen in the docs this is expected behaviour, see my replies below for requested outcome ***

Reproduction

Put this in an obsidian document:
dice: 4d6!!>=7

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version Check

1.6.7

Plugin Version

11.3.2

Confirmation

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

Possible solution

No response

@dustyghost
Copy link
Author

dustyghost commented Oct 16, 2024

Sorry I have just seen in the documentation this will mean the explode will only happen to rolls >= 7 which will never be.

So how do I show a count of rolls were the explode and combine end up as >= 7 in each result?

And yep, I am a Shadowrun player. :) The rule there is roll any number of D6, on a 6 roll again that dice and add result. This can happen many times.
so would love to see something like.

 [8+, 1, 3, 4] -> 1
 [8!, 1, 9!, 4] -> 2

@dustyghost
Copy link
Author

Edited replies and original comment

@valentine195
Copy link
Member

You have to apply the condition to the dice, not the modifier.

So this should do what you want: `dice: 4d6>=7!!`

@dustyghost
Copy link
Author

Hey @valentine195 thank you for your answer. is there a way to show the detail of the role on the Dice Tray?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants