Skip to content

No result was passed to the dice-roller-parser. Using fallback Math.random #2

Description

@clevett

I'm trying to roll two dice and get back the lowest result as a success. When I run the function below I get the error.

No result was passed to the dice-roller-parser. Using fallback Math.random

      const parse = DRP.parseNotation("2d100kl<50");

      await diceBox?.roll(parse).then((result) => {
        const finalResult = DRP.parseFinalResults(result);
      });

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions