roll-parser - v3.4.0
    Preparing search index...

    Type Alias DieModifier

    DieModifier:
        | "dropped"
        | "kept"
        | "exploded"
        | "rerolled"
        | "min"
        | "max"
        | "success"
        | "failure"
        | "meta"
        | "dc"

    Tags attached to a DieResult by the evaluator. A die can carry more than one (an exploded die that was later dropped is ['dropped', 'exploded']), and the set drives the markers in RollResult.rendered.

    Tag Meaning Rendered as
    'kept' Counted toward the total. Every non-dropped die carries it. plain
    'dropped' Excluded from the total by kh/kl/dh/dl or group selection. ~~n~~
    'exploded' Produced by, or the trigger of, an explosion (!, !!, !p). plain
    'rerolled' A discarded intermediate from r / ro, always paired with 'dropped' — the replacement die carries no tag. ~~n~~ (via 'dropped')
    'min' Raised to a minN bound; initialResult keeps the raw face. plain
    'max' Lowered to a maxN bound; initialResult keeps the raw face. plain
    'success' Met a success-count threshold (>=6). **n**
    'failure' Met a failure threshold (f1). __n__
    'meta' Rolled by a meta-expression rather than by the visible pool. not shown
    'dc' The DC side of a vs comparison. Never part of the roll-side pool. plain

    'meta' is the one tag with no counterpart in the notation. Dice counts, sides, modifier counts and computed thresholds may themselves be dice ((1d4)d6, 4d6kh(1d2), 1d6!>(1d2+3)). Those inner dice belong to no pool: they never appear on a dice or fateDice part, and they are appended to RollResult.rolls tagged 'meta' so an audit log can still show what the meta-expression rolled.

    The four whole-pool views — sort, explode, reroll, and successCount rolls — are snapshots of an evaluation context rather than of a pool, so they do carry meta dice. Filter them out when summing or displaying a pool.

    'dc' marks the DC side of a vs comparison. Unlike 'meta' these dice do render — 1d20[3] vs 2d10[5, 6] shows both sides — but they are not part of the roll-side pool, so no modifier may sum, select, clamp, reroll, explode, or tally them. Filter them out when summing a pool, exactly as with 'meta'.