Add all systems effects scripts + translations

This commit is contained in:
2024-05-17 12:46:44 +02:00
parent 039df5c10a
commit a308181834
1421 changed files with 9940 additions and 547 deletions

View File

@ -1,8 +1,8 @@
let wounds = this.actor.itemTypes.disease.filter(i => i.name == "Festering Wound" && i.system.duration.active);
let wounds = this.actor.itemTypes.disease.filter(i => i.name == "Blessure Purulente" && i.system.duration.active);
let selected;
if (wounds.length == 0)
{
return this.script.scriptNotification("No Festering Wounds!");
return this.script.scriptNotification("Aucune Blessure Purulente!");
}
else if (wounds.length == 1)
{
@ -23,7 +23,7 @@ if (selected)
if (SL >= 0)
{
selected.update({"system.duration.value" : selected.system.duration.value - SL})
this.script.scriptMessage(`<strong>${selected.name}</strong> duration reduced by ${SL}!`)
this.script.scriptMessage(`<strong>${selected.name}</strong> durée réduite de ${SL}!`)
}
}
}