From a941bda83f85b46aad20237dfadb7348ef3d069c Mon Sep 17 00:00:00 2001 From: jalensailin Date: Tue, 5 Dec 2023 12:46:27 -0500 Subject: [PATCH] fix eslint error --- module/actor/actor-sheet.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/module/actor/actor-sheet.js b/module/actor/actor-sheet.js index a0c7b16..4caff07 100644 --- a/module/actor/actor-sheet.js +++ b/module/actor/actor-sheet.js @@ -237,8 +237,8 @@ export default class DeltaGreenActorSheet extends ActorSheet { // Rollable abilities - bind to everything with the 'Rollable' class html.find(".rollable").click(this._onRoll.bind(this)); - html.find('.rollable').contextmenu(this._onRoll.bind(this)); // this is for right-click, which triggers the roll modifier dialogue for most rolls - + html.find(".rollable").contextmenu(this._onRoll.bind(this)); // this is for right-click, which triggers the roll modifier dialogue for most rolls + html.find(".toggle-untrained").click(() => this.actor.update({ "system.showUntrainedSkills": !this.actor.system.showUntrainedSkills, @@ -645,6 +645,9 @@ export default class DeltaGreenActorSheet extends ActorSheet { } _addNewTypedSkill(newSkillLabel, newSkillGroup) { + const specialTraining = [ + { name: "lockpicking", skill: "dex", id: randomID() }, + ]; const updatedData = duplicate(this.actor.system); const { typedSkills } = updatedData;