Skip to content

Commit fe3e179

Browse files
committed
2 parents af1aea8 + 08ea5e3 commit fe3e179

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/qmOt7h17hGAKqQe0.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

22

3-
if (!args.attackerTest.item?.system?.isMelee)
3+
if (!args.opposedTest.attackerTest.item?.system?.isMelee)
44
{
55
let choice = await foundry.applications.api.DialogV2.confirm({ window: { title: this.effect.name }, content: `<p><strong>${this.effect.name}</strong>: Is this a ranged or magical attack that orignates outside the Dome?</p>` })
66

77
if (choice)
88
{
99
args.ward = 6;
1010
}
11-
}
11+
}

src/hooks/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export default function() {
6666

6767
game.settings.register("wfrp4e", "homebrew", {
6868
name: "Hombrew Settings",
69-
scope: "client",
69+
scope: "world",
7070
config: false,
7171
type: HomebrewConfig.schema
7272
});

0 commit comments

Comments
 (0)