Skip to content

@vttforge/core / rollOutcome

Function: rollOutcome() ​

rollOutcome(roll, options?): RollOutcome

The outcome of a roll under the given thresholds, without posting it.

Parameters ​

roll ​

PostableRoll

options? ​

Pick<PostRollOptions, "crit" | "fumble"> = {}

Returns ​

RollOutcome

MIT licensed.