Skip to content

Commit

Permalink
fix RK roll issue with manual dice
Browse files Browse the repository at this point in the history
  • Loading branch information
reonZ committed Oct 8, 2024
1 parent 518ba4e commit 24a169f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions/recall-knowledge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const SUCCESS = {
} as const;

async function rollRecallKnowledge(actor: CreaturePF2e) {
const roll = await new Roll("1d20").evaluate();
const roll = await new Roll("1d20").evaluate({ allowInteractive: false });
const dieResult = roll.dice[0].total!;
const dieSuccess = dieResult === 1 ? "0" : dieResult === 20 ? "3" : "";
const lores = Object.values(actor.skills).filter((skill) => skill.lore);
Expand Down

0 comments on commit 24a169f

Please sign in to comment.