Skip to content

Commit

Permalink
Show selectors when inspecting damage taken messages (#17699)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosFdez authored Dec 13, 2024
1 parent 10add43 commit 44020a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/module/actor/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1428,6 +1428,7 @@ class ActorPF2e<TParent extends TokenDocumentPF2e | null = TokenDocumentPF2e | n
appliedDamage,
context: {
type: "damage-taken",
domains: [domain],
options: Array.from(rollOptions),
},
origin: item?.getOriginData(),
Expand Down
2 changes: 1 addition & 1 deletion src/module/chat-message/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ interface SelfEffectContextFlag {

interface DamageTakenContextFlag {
type: "damage-taken";
domains?: never;
domains?: string[];
options?: string[];
outcome?: never;
}
Expand Down

0 comments on commit 44020a8

Please sign in to comment.