Skip to content

@vttforge/core / dicePool

Function: dicePool()

dicePool(spec): string

The formula for a pool, using the modifiers Foundry's Die documents. The order is the one Foundry applies them in: reroll, explode, floor and ceiling, keep or drop, then counting.

Parameters

spec

DicePoolSpec

Returns

string

MIT licensed.