if (args.opposedTest?.attackerTest?.item?.system?.isRanged) { let choice = await Dialog.wait({ title: this.effect.name, content: `

Eviter les dégâts avec ${this.effect.name}?`, buttons: { yes: { label: "Oui", callback: () => { return true; } }, no: { label: "Non", callback: () => { return false; } } } }) if (choice) { args.abort = `${this.effect.name}: Dégâts annulés` } }