Add all systems effects scripts + translations

This commit is contained in:
2024-05-17 09:19:48 +02:00
parent 7b97578bd7
commit 039df5c10a
119 changed files with 255 additions and 232 deletions

View File

@ -2,16 +2,16 @@ if (args.opposedTest?.attackerTest?.item?.system?.isRanged)
{
let choice = await Dialog.wait({
title: this.effect.name,
content: `<p>Abort damage with <strong>${this.effect.name}</strong>?`,
content: `<p>Eviter les dégâts avec <strong>${this.effect.name}</strong>?`,
buttons: {
yes: {
label: "Yes",
label: "Oui",
callback: () => {
return true;
}
},
no: {
label: "No",
label: "Non",
callback: () => {
return false;
}
@ -21,6 +21,6 @@ if (args.opposedTest?.attackerTest?.item?.system?.isRanged)
if (choice)
{
args.abort = `<strong>${this.effect.name}</strong>: Damage cancelled`
args.abort = `<strong>${this.effect.name}</strong>: Dégâts annulés`
}
}