From 428db5e44127aff749f99183a4e83063942f701b Mon Sep 17 00:00:00 2001 From: sladecraven Date: Wed, 28 Sep 2022 20:23:21 +0200 Subject: [PATCH] Fix #74 : Power damage type --- template.json | 1 + templates/chat-generic-result.html | 2 +- templates/item-power-sheet.html | 6 +++++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/template.json b/template.json index 5c0437f..958b713 100644 --- a/template.json +++ b/template.json @@ -567,6 +567,7 @@ "deactivatedtext": "", "powerlevelcost": "", "powerdamagetype": "", + "powerdamagetypelevel": 0, "dmgroll": false, "dmgstatistic": "", "description": "" diff --git a/templates/chat-generic-result.html b/templates/chat-generic-result.html index d39519a..8652346 100644 --- a/templates/chat-generic-result.html +++ b/templates/chat-generic-result.html @@ -46,7 +46,7 @@ {{/if}} {{#if power}} -
  • Power Damage type : {{power.system.powerdamagetype}}
  • +
  • Power Damage type : {{power.system.powerdamagetype}} {{power.system.powerdamagetypelevel}}
  • {{/if}} {{#if isResistance}} diff --git a/templates/item-power-sheet.html b/templates/item-power-sheet.html index 75178a8..f9f9640 100644 --- a/templates/item-power-sheet.html +++ b/templates/item-power-sheet.html @@ -112,10 +112,14 @@ {{/select}} -
  • +
  • +
  • + +
  • {{/if}}