Add all systems effects scripts + translations
This commit is contained in:
@ -10,10 +10,10 @@ let characteristics = {
|
||||
"wp" : 10,
|
||||
"fel" : 10
|
||||
}
|
||||
let skills = ["Charm", "Intimidate", "Melee (Basic)"]
|
||||
let skills = ["Charme", "Intimidation", "Corps à corps (Base)"]
|
||||
let skillAdvancements = [7, 60, 7]
|
||||
let talents = ["Menacing", "Shadow"]
|
||||
let traits = ["Distracting"]
|
||||
let talents = ["Menaçant", "Discret"]
|
||||
let traits = ["Perturbant"]
|
||||
let trappings = []
|
||||
let items = [];
|
||||
let spells = [];
|
||||
@ -50,7 +50,7 @@ for (let talent of talents)
|
||||
}
|
||||
else
|
||||
{
|
||||
ui.notifications.warn(`Could not find ${talent}`, {permanent : true})
|
||||
ui.notifications.warn(`Impossible de trouver ${talent}`, {permanent : true})
|
||||
}
|
||||
}
|
||||
|
||||
@ -68,13 +68,13 @@ for (let trait of traits)
|
||||
}
|
||||
catch { }
|
||||
if (!traitItem) {
|
||||
ui.notifications.warn(`Could not find ${trait}`, {permanent : true})
|
||||
ui.notifications.warn(`Impossible de trouver ${trait}`, {permanent : true})
|
||||
}
|
||||
traitItem = traitItem.toObject()
|
||||
|
||||
if (Number.isNumeric(traitVal))
|
||||
{
|
||||
traitItem.system.specification.value = traitName.includes('Weapon','Horns','Tail','Tentacles','Bite') ? traitVal - parseInt(characteristicValues[3]/10) : traitVal;
|
||||
traitItem.system.specification.value = traitName.includes('Arme','Cornes','Queue','Tentacules','Morsure') ? traitVal - parseInt(characteristicValues[3]/10) : traitVal;
|
||||
traitItem.name = (traitItem.name + ` ${traitSpec ? "("+ traitSpec + ")" : ""}`).trim()
|
||||
}
|
||||
else
|
||||
@ -97,7 +97,7 @@ for (let trapping of trappings)
|
||||
}
|
||||
else
|
||||
{
|
||||
ui.notifications.warn(`Could not find ${trapping}`, {permanent : true})
|
||||
ui.notifications.warn(`Impossible de trouver ${trapping}`, {permanent : true})
|
||||
}
|
||||
}
|
||||
|
||||
@ -112,7 +112,7 @@ for (let spell of spells)
|
||||
}
|
||||
else
|
||||
{
|
||||
ui.notifications.warn(`Could not find ${spell}`, {permanent : true})
|
||||
ui.notifications.warn(`Impossible de trouver ${spell}`, {permanent : true})
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user