forked from public/foundryvtt-wh4-lang-fr-fr
Add all systems effects scripts + translations
This commit is contained in:
@ -32,11 +32,11 @@ for(let f in flaws)
|
||||
}
|
||||
}
|
||||
|
||||
let added = await ItemDialog.create(ItemDialog.objectToArray(qualities), "unlimited", "Choose Qualities to add");
|
||||
let added = await ItemDialog.create(ItemDialog.objectToArray(qualities), "unlimited", "Choisissez la Qualité à ajouter");
|
||||
let removed = []
|
||||
if (!foundry.utils.isEmpty(flaws))
|
||||
{
|
||||
removed = await ItemDialog.create(ItemDialog.objectToArray(flaws), "unlimited", "Choose Flaws to remove");
|
||||
removed = await ItemDialog.create(ItemDialog.objectToArray(flaws), "unlimited", "Choisissez le Défaut à enlever");
|
||||
}
|
||||
|
||||
this.effect.updateSource({"flags.wfrp4e.propertiesChanged" : {added : added.map(i => i.id), removed : removed.map(i => i.id)}})
|
||||
|
Reference in New Issue
Block a user