Add all systems effects scripts + translations

This commit is contained in:
2024-05-17 01:07:37 +02:00
parent 0b286ac994
commit 7b97578bd7
191 changed files with 379 additions and 381 deletions

View File

@ -1,17 +1,17 @@
if ((args.opposedTest.attackerTest.item && args.opposedTest.attackerTest.item.isMelee) || (args.opposedTest.attackerTest.item && !args.opposedTest.attackerTest.item.name.includes("Ranged")))
if ((args.opposedTest.attackerTest.item && args.opposedTest.attackerTest.item.isMelee) || (args.opposedTest.attackerTest.item && !args.opposedTest.attackerTest.item.name.includes("Projectiles")))
{
let choice = await Dialog.wait({
title: this.effect.name,
content: `<p>Apply damage with <strong>${this.effect.name}</strong> to attacker?`,
content: `<p>Appliquer les dommages de <strong>${this.effect.name}</strong> à l'attquant?`,
buttons: {
yes: {
label: "Yes",
label: "Oui",
callback: () => {
return true;
}
},
no: {
label: "No",
label: "Non",
callback: () => {
return false;
}