21 lines
334 B
JavaScript
21 lines
334 B
JavaScript
|
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;
|