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 is always 0 #9

Open
Heilemann opened this issue Sep 11, 2024 · 0 comments
Open

Modifier is always 0 #9

Heilemann opened this issue Sep 11, 2024 · 0 comments

Comments

@Heilemann
Copy link

Heilemann commented Sep 11, 2024

When rolling e.g. 1d6+2 I take the +2 to be a modifier.

The parsed roll object has a key named modifier, but as far as I can tell it's always simply 0. I assume this is supposed to be e.g. 2 in the case of the above roll (although I can find no documentation of the roll object or its types)

Although the modifier is ultimately also represented in the dice-box results object, it would make sense for it to also be represented in the parsed roll object, for the purposes of displaying rolls and their component pieces.

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

1 participant