forked from public/foundryvtt-wh4-lang-fr-fr
Add all systems effects scripts + translations
This commit is contained in:
@ -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}!`)
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user