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

21 lines
334 B
JavaScript
Raw Permalink Normal View History

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;