Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions bench/_cases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ export const BENCH_CASES: BenchCase[] = [
{ id: '100d6kh1', notation: '100d6kh1', tier: 'heavy' },
{ id: '100d6sa', notation: '100d6sa', tier: 'heavy' },

// Reroll and stacked modifiers at pool scale. Every other reroll case is 4
// dice, and nothing else here runs more than two pool passes over one pool.
{ id: '100d10ro<3', notation: '100d10ro<3', tier: 'heavy', variableWork: true },
{ id: '100d10kh50sd cs>8', notation: '100d10kh50sd cs>8', tier: 'heavy' },

{ id: '1000d6', notation: '1000d6', tier: 'pathological' },
];

Expand Down
4 changes: 1 addition & 3 deletions src/evaluator/evaluator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3293,10 +3293,8 @@ describe('evaluate', () => {
{ result: 6, sides: 10, modifiers: ['kept', 'success'], critical: false, fumble: false },
{ result: 1, sides: 10, modifiers: ['kept', 'failure'], critical: false, fumble: false },
],
expressionParts: [],
renderedParts: [],
};
const parent: EvalContext = { rolls: [], expressionParts: [], renderedParts: [] };
const parent: EvalContext = { rolls: [] };

mergeMetaRolls(parent, source);

Expand Down
Loading
Loading