Skip to content

AQLRandoms: Add complex roll syntax #7

@BilliAlpha

Description

@BilliAlpha

Add support for complex roll syntax like 2d10+5 or 5d100 + 2d20 - 6

Requires new dice-spec token type, it should parse:

  • Number of dices
  • Number of sides for each dice
  • Modifiers

A dice-spec is a single block like 2d10+2, it cannot contain spaces.

The global parser should still support modifiers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions