Skip to content

Modifier is always 0 #9

Description

@Heilemann

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions