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

24 lines
496 B
JavaScript
Raw 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>: Is this a ranged or magical attack that orignates outside the Dome?</p>`,
buttons: {
yes: {
label: "Yes",
callback: () => {
return true;
}
},
no: {
label: "No",
callback: () => {
return false;
}
}
}
})
if (choice)
{
args.ward = 6;
}