Skip to content

Commit

Permalink
Fix elite/weak affecting flat checks (#16006)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosFdez authored Aug 12, 2024
1 parent 47d699d commit 75df3ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module/system/text-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ function getCheckDC({
if (base && actor && !immutable) {
const idDomain = item ? `${item.id}-inline-dc` : null;
const slugDomain = `${sluggify(name)}-inline-dc`;
const domains = ["all", "inline-dc", idDomain, slugDomain].filter(R.isTruthy);
const domains = [params.type !== "flat" ? "all" : null, "inline-dc", idDomain, slugDomain].filter(R.isTruthy);
const { synthetics } = actor;
const modifier = new ModifierPF2e({
slug: "base",
Expand Down

0 comments on commit 75df3ad

Please sign in to comment.