• Simplifies formula to very basic level.

    Parameters

    • formula: string

      Formula

    • OptionalrollData: object = {}

      Roll data

    • Optionaloptions: {
          strict: undefined | boolean;
      } = {}

      Additional options

      • strict: undefined | boolean

        Attempt to return something even slightly valid even with bad formulas

    Returns string

    • Simpler formula
    • On invalid formula