if (args.opposedTest?.attackerTest?.item?.system?.isProjectiles) { let choice = await foundry.applications.api.DialogV2.confirm({window: {title : this.item.name}, content : `
Annuler les dégâts avec ${this.effect.name}?
`}) if (choice) { args.abort = `${this.effect.name}: Dégats annulés.`; } }