• Format a mystery / mystical-ability level as static text: an em dash when the level is disabled (no base level), otherwise the value — optionally signed (mysteries display a signed level; abilities a plain one).

    Parameters

    • disabled: boolean

      Whether the level is disabled.

    • value: number

      The effective level value.

    • options: { signed?: boolean } = {}

      Formatting options.

      • Optionalsigned?: boolean

        When true, prefix non-negative values with +.

    Returns string

    The formatted level string.