diff --git a/modules/crucible-actor.js b/modules/crucible-actor.js index 422ece4..2ef342f 100644 --- a/modules/crucible-actor.js +++ b/modules/crucible-actor.js @@ -80,7 +80,7 @@ export class CrucibleActor extends Actor { /* -------------------------------------------- */ getEncumbranceCapacity() { - return this.data.data.statistics.str.value * 25 + return 1; } /* -------------------------------------------- */ @@ -129,9 +129,6 @@ export class CrucibleActor extends Actor { /* -------------------------------------------- */ getSkills() { let comp = duplicate(this.data.items.filter(item => item.type == 'skill') || []); - for (let c of comp) { - c.data.dice = CrucibleUtility.getDiceFromLevel(c.data.level); - } return comp; } diff --git a/modules/crucible-utility.js b/modules/crucible-utility.js index 3822efa..a59c449 100644 --- a/modules/crucible-utility.js +++ b/modules/crucible-utility.js @@ -86,6 +86,8 @@ export class CrucibleUtility { const templatePaths = [ 'systems/fvtt-crucible-rpg/templates/editor-notes-gm.html', + 'systems/fvtt-crucible-rpg/templates/partial-actor-ability-block.html', + 'systems/fvtt-crucible-rpg/templates/partial-actor-status.html', 'systems/fvtt-crucible-rpg/templates/partial-options-abilities.html', 'systems/fvtt-crucible-rpg/templates/partial-item-nav.html', 'systems/fvtt-crucible-rpg/templates/partial-item-description.html', diff --git a/template.json b/template.json index 1285798..2ae6527 100644 --- a/template.json +++ b/template.json @@ -22,36 +22,43 @@ "str":{ "label": "Strength", "abbrev": "str", + "col": 1, "value": 1 }, "agi":{ "label": "Agility", "abbrev": "agi", + "col": 1, "value": 1 }, "dex":{ "label": "Dexterity", "abbrev": "dex", + "col": 1, "value": 1 }, "con":{ "label": "Constitution", "abbrev": "con", + "col": 1, "value": 1 }, "int":{ "label": "Intelligence", "abbrev": "int", + "col": 2, "value": 1 }, "wit":{ "label": "Wits", "abbrev": "wit", + "col": 2, "value": 1 }, "cha":{ "label": "Charisma", "abbrev": "cha", + "col": 2, "value": 1 } }, diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index ce52805..780761e 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -11,60 +11,28 @@