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

Modifier to Group Exploding Dice before Keeping/Dropping #197

Open
TrinitysEnd opened this issue Mar 3, 2023 · 2 comments
Open

Modifier to Group Exploding Dice before Keeping/Dropping #197

TrinitysEnd opened this issue Mar 3, 2023 · 2 comments

Comments

@TrinitysEnd
Copy link

Some game systems use exploding dice and advantage (one such one is Open Legend), and having the ability to use something like (as Roll20 does) 2d20!!k1 to signify adding the results together before factoring the result would be beneficial than manually having to roll out each advantage or relying on ns to determine the last die rolled to add to the result afterwards.

Additionally and/or Alternatively, using ( ) to signify which to do first, such as (2d20!!)k1 would explode and then evaluate the total of the two being higher and then take the higher of the two. Or inversely (3d2k1)!! would evaluate 3, 3, 1 to drop the second 3 and the 1 then explode the 3 and add the results to the previous 3. This would be more correct in handling the Dice for Open Legend, but the Roll20 method is also still appreciated and used by more systems.

@david-sharer
Copy link
Contributor

david-sharer commented Mar 3, 2023

As a warning, these are halfway developer notes:

Rollem doesn't use !! as notation for anything yet (and consistency w/ Roll20 on this seems good). It should be easy enough to add to the v1 syntax.

I believe w/ the way everything is structured now, that will immediately support (3d2!!)k1 since keep-drop is considered after explosions.

Additionally, there's an ask out to group such explosions in some fashion so it's easy to tell which values are related. That should probably be done w/ this work.


For more complex situations like (3d2k1)!! where you're adding filtering/rerolls/explosions after the initial roll, I was thinking a chainable "pipe"-type system would be quite flexible. Something like 3d2k1 | explode-compound or 3d2k1 | !!. This would be more targeted at v2 syntax unless it looks very easy to add to v1

@TrinitysEnd
Copy link
Author

I wasn't expecting such a quick response! But I do understand the majority of this and it seems I made my examples clear enough to be understood despite my lack in developer magic! I greatly appreciate the work you do.

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

No branches or pull requests

2 participants