diff --git a/src/components/journal/types/roll.tsx b/src/components/journal/types/roll.tsx index 70b100c..ba0ec77 100644 --- a/src/components/journal/types/roll.tsx +++ b/src/components/journal/types/roll.tsx @@ -1,9 +1,9 @@ /** * Built-in message type: roll * - * Emitters: gm + * Emitters: gm, player * Command: /roll formula - * The GM's browser rolls the formula and publishes the resolved result. + * The sender's browser rolls the formula and publishes the resolved result. */ import { z } from "zod"; @@ -44,7 +44,7 @@ export function resolveRollPayload(raw: { registerMessageType({ type: "roll", label: "掷骰", - emitters: ["gm"], + emitters: ["gm", "player"], schema, defaultPayload: () => ({ notation: "1d20",