Skip to content

@dice-roller/rpg-dice-roller / modifiers / targetHandler

Variable: targetHandler ​

const targetHandler: ModifierHandler<TargetNode>

Defined in: src/modifiers/handlers/target.ts:14

>=8, >=8f<=2: counts successes and failures.

Items matching success count as 1 (flag target-success), items matching failure as -1 (flag target-failure), and the rest as 0 (via calculationValue). An item matching both is a success. Dropped items are still scored and flagged, but remain excluded from the total. On a group, it always counts the members by their totals.

MIT Licensed · Credits