Skip to content

Commit

Permalink
add the roll message in pf2e-toolbelt.rollSave hook
Browse files Browse the repository at this point in the history
  • Loading branch information
reonZ committed Jan 18, 2025
1 parent e9beb45 commit a82ce4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tools/targetHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1319,6 +1319,7 @@ async function rollSaves(
Hooks.callAll("pf2e-toolbelt.rollSave", {
roll,
message,
rollMessage: msg,
target,
data,
} satisfies RollSaveHook);
Expand Down Expand Up @@ -1953,6 +1954,7 @@ type MessageData = {
type RollSaveHook = {
roll: Rolled<CheckRoll>;
message: ChatMessagePF2e;
rollMessage: ChatMessagePF2e;
target: TokenDocumentPF2e;
data: MessageTargetSave;
};
Expand Down

0 comments on commit a82ce4a

Please sign in to comment.