Setup new compendiums
This commit is contained in:
@ -34,11 +34,11 @@ const _patch_eis = () => {
|
||||
const _fix_post_module_loading = () => {
|
||||
|
||||
// Detect and patch as necessary
|
||||
if (WFRP4E && WFRP4E.talentBonuses && WFRP4E.talentBonuses["vivacité"] == undefined) {
|
||||
if (game.wfrp4e.config && game.wfrp4e.config.talentBonuses && game.wfrp4e.config.talentBonuses["vivacité"] == undefined) {
|
||||
console.log("Patching WFRP4E now ....");
|
||||
WFRP4E.weaponQualities["distract"] = "PROPERTY.Distract"; // Patch missing quality
|
||||
game.wfrp4e.config.weaponQualities["distract"] = "PROPERTY.Distract"; // Patch missing quality
|
||||
|
||||
WFRP4E.talentBonuses = {
|
||||
game.wfrp4e.config.talentBonuses = {
|
||||
"perspicace": "int",
|
||||
"affable": "fel",
|
||||
"tireur de précision": "bs",
|
||||
@ -50,7 +50,7 @@ const _fix_post_module_loading = () => {
|
||||
"doigts de fée": "dex",
|
||||
"guerrier né": "ws"
|
||||
}
|
||||
WFRP4E.speciesSkills = {
|
||||
game.wfrp4e.config.speciesSkills = {
|
||||
"human": [
|
||||
"Soins aux animaux",
|
||||
"Charme",
|
||||
@ -122,7 +122,7 @@ const _fix_post_module_loading = () => {
|
||||
"Pistage"
|
||||
],
|
||||
}
|
||||
WFRP4E.speciesTalents = {
|
||||
game.wfrp4e.config.speciesTalents = {
|
||||
"human": [
|
||||
"Destinée",
|
||||
"Affable, Perspicace",
|
||||
@ -160,7 +160,7 @@ const _fix_post_module_loading = () => {
|
||||
0
|
||||
],
|
||||
}
|
||||
WFRP4E.species = {
|
||||
game.wfrp4e.config.species = {
|
||||
"human": "Humain",
|
||||
"dwarf": "Nain",
|
||||
"halfling": "Halfling",
|
||||
|
Reference in New Issue
Block a user