diff --git a/module/characterImporter.js b/module/characterImporter.js index d517e4f7..5339522c 100644 --- a/module/characterImporter.js +++ b/module/characterImporter.js @@ -49,6 +49,15 @@ export default class CharacterImporter { }, }; + /* ----------------------------------------------------------------- */ + /* character.data.skills..value is all that matters + /* values can be 0, 0.5, 1 or 2 + /* 0 = regular + /* 0.5 = half-proficient + /* 1 = proficient + /* 2 = expertise + /* foundry takes care of calculating the rest + /* ----------------------------------------------------------------- */ const skills = { acr: { value: sourceCharacter.attribs.find(e => e.name == 'acrobatics_type').current @@ -135,14 +144,6 @@ export default class CharacterImporter { await actor.createEmbeddedEntity("OwnedItem", assignedClass.data, { displaySheet: false }); } - static async addSkils(){ - // data.skills.skill.value is all that matters - // value = 0 = regular - // value = 0.5 = half-proficient - // value = 1 = proficient - // value = 2 = expertise - } - static addImportButton(html){ const header = $("#actors").find("header.directory-header"); const search = $("#actors").children().find("div.header-search");