• Simplifies formula to very basic level.

    Parameters

    • formula: string

      Formula

    • Optional rollData: object = {}

      Roll data

    • Optional options: {
          strict: undefined | boolean;
      } = {}

      Additional options

      • strict: undefined | boolean

        Attempt to return something even slightly valid even with bad formulas

    Returns string

    • Simpler formula

    Throws

    • On invalid formula

Generated using TypeDoc