foundryvtt-wh4-lang-fr-fr/scripts/qmOt7h17hGAKqQe0.js

24 lines
507 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
let choice = await Dialog.wait({
title: this.effect.name,
content: `<p><strong>${this.effect.name}</strong>: Est-ce que l'attaque magique ou à distance provient de l'extérieur du Dome?</p>`,
2024-05-16 17:57:51 +02:00
buttons: {
yes: {
label: "Oui",
2024-05-16 17:57:51 +02:00
callback: () => {
return true;
}
},
no: {
label: "Non",
2024-05-16 17:57:51 +02:00
callback: () => {
return false;
}
}
}
})
if (choice)
{
args.ward = 6;
}