From 2749a29c637aeef1723393bfafa8d2ad7cf197d6 Mon Sep 17 00:00:00 2001 From: Jonas Karlsson Date: Sun, 16 Aug 2020 20:37:43 +0200 Subject: [PATCH] fix: Hardcode dex for skill rolls (really, start of support for choice of characteristic for skill rolls) --- src/module/handlebars.ts | 2 +- static/templates/actors/actor-sheet.html | 18 ++++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/module/handlebars.ts b/src/module/handlebars.ts index 1264e0937..0fb456982 100644 --- a/src/module/handlebars.ts +++ b/src/module/handlebars.ts @@ -27,7 +27,7 @@ export default function registerHandlebarsHelpers():void { }); Handlebars.registerHelper('shouldShowSkill', function(skill, hideUntrainedSkills) { - console.log('shouldShowSkill', skill, hideUntrainedSkills) + // console.log('shouldShowSkill', skill, hideUntrainedSkills) return skill.trained || hideUntrainedSkills }); diff --git a/static/templates/actors/actor-sheet.html b/static/templates/actors/actor-sheet.html index 24d2cfa03..1f42c1193 100644 --- a/static/templates/actors/actor-sheet.html +++ b/static/templates/actors/actor-sheet.html @@ -108,13 +108,14 @@ - + + + + + + + @@ -127,9 +128,10 @@ + {{numberFormat (getSkillValueWithJoat skill @root.data.jackofalltrades) decimals=0 sign=true}} - +