foundryvtt-wh4-lang-fr-fr/scripts/6kifXp2jXEaQVJsg.js

21 lines
338 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
let useWard = await Dialog.wait({
title : this.effect.name,
content : `<p>Utiliser Ward fourni par <strong>${this.effect.name}</strong>?`,
2024-05-16 17:57:51 +02:00
buttons : {
yes : {
label : "Yes",
callback: () => {
return true;
}
},
no : {
label: "No",
callback: () => {
return false;
}
}
}
})
if (useWard)
args.ward = 9;