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

21 lines
334 B
JavaScript
Raw Normal View History

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