if (!args.opposedTest.attackerTest.item?.system?.isMelee) { let choice = await foundry.applications.api.DialogV2.confirm({ window: { title: this.effect.name }, content: `
${this.effect.name}: Is this a ranged or magical attack that orignates outside the Dome?
` }) if (choice) { args.ward = 6; } }