2024-05-16 17:57:51 +02:00
|
|
|
let useWard = await Dialog.wait({
|
|
|
|
title : this.effect.name,
|
2024-05-17 01:07:37 +02:00
|
|
|
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;
|