diff --git a/modules/crucible-npc-sheet.js b/modules/crucible-npc-sheet.js index 3192736..5485ace 100644 --- a/modules/crucible-npc-sheet.js +++ b/modules/crucible-npc-sheet.js @@ -157,7 +157,10 @@ export class CrucibleNPCSheet extends ActorSheet { html.find('.roll-shield-die').click((event) => { this.actor.rollShieldDie() }); - + html.find('.roll-target-die').click((event) => { + this.actor.rollDefenseRanged() + }); + html.find('.roll-save').click((event) => { const saveKey = $(event.currentTarget).data("save-key") this.actor.rollSave(saveKey) diff --git a/system.json b/system.json index c615308..9290540 100644 --- a/system.json +++ b/system.json @@ -199,7 +199,7 @@ "styles": [ "styles/simple.css" ], - "version": "10.0.11", + "version": "10.0.12", "compatibility": { "minimum": "10", "verified": "10.285", @@ -207,7 +207,7 @@ }, "title": "Crucible RPG", "manifest": "https://www.uberwald.me/gitea/public/fvtt-crucible-rpg/raw/master/system.json", - "download": "https://www.uberwald.me/gitea/public/fvtt-crucible-rpg/archive/fvtt-crucible-rpg-v10.0.11.zip", + "download": "https://www.uberwald.me/gitea/public/fvtt-crucible-rpg/archive/fvtt-crucible-rpg-v10.0.12.zip", "url": "https://www.uberwald.me/gitea/public/fvtt-crucible-rpg", "background": "images/ui/crucible_welcome_page.webp", "id": "fvtt-crucible-rpg" diff --git a/templates/npc-sheet.html b/templates/npc-sheet.html index 6cebe69..208c497 100644 --- a/templates/npc-sheet.html +++ b/templates/npc-sheet.html @@ -60,6 +60,12 @@ {{/if}} +
  • + + +

    Target Roll

    +
    +
  • diff --git a/templates/partial-actor-status.html b/templates/partial-actor-status.html index acc3ce8..09985af 100644 --- a/templates/partial-actor-status.html +++ b/templates/partial-actor-status.html @@ -3,15 +3,25 @@

    HP

    - - / {{data.secondary.hp.max}} + + + {{#if (eq type "character")}} + / {{data.secondary.hp.max}} + {{else}} + / + {{/if}}
  • Effort

    - + + + {{#if (eq type "character")}} / {{data.secondary.effort.max}} + {{else}} + / + {{/if}}
  •