From fd019f411161b016cb5354e3653819b3d547ebc7 Mon Sep 17 00:00:00 2001 From: acd-jake <67855941+acd-jake@users.noreply.github.com> Date: Thu, 17 Nov 2022 17:35:56 +0100 Subject: [PATCH 1/2] Added special property to chat card The special description of attack if any is added to the chat card. --- templates/chat/combat/melee-initiator.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/chat/combat/melee-initiator.html b/templates/chat/combat/melee-initiator.html index c3c3e0ae1..7f4fb01c4 100644 --- a/templates/chat/combat/melee-initiator.html +++ b/templates/chat/combat/melee-initiator.html @@ -14,6 +14,10 @@

{{{item.system.description.value}}} + {{#if this.item.system.properties.spcl}} + {{localize 'CoC7.WeaponSpecial'}} + {{{this.item.system.description.special}}} + {{/if}} {{#if rolled}}
{{#if advantage}}{{localize 'CoC7.Advantage'}}{{/if}} @@ -147,4 +151,4 @@

{{check.malfunctionTxt}}

{{/each}}
{{/if}} - \ No newline at end of file + From a70347efb7d8d328df4c4c0943c69b2a04a78fab Mon Sep 17 00:00:00 2001 From: acd-jake <67855941+acd-jake@users.noreply.github.com> Date: Fri, 18 Nov 2022 22:27:08 +0100 Subject: [PATCH 2/2] Update range-initiator.html Added attack's special property to range intiator chat card. --- templates/chat/combat/range-initiator.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/chat/combat/range-initiator.html b/templates/chat/combat/range-initiator.html index ff2a7420f..94cb5ee8e 100644 --- a/templates/chat/combat/range-initiator.html +++ b/templates/chat/combat/range-initiator.html @@ -10,6 +10,11 @@

{{{item.system.description.value}}} + {{#if this.item.system.properties.spcl}} + {{localize 'CoC7.WeaponSpecial'}} + {{{this.item.system.description.special}}} + {{/if}} + {{#if rolled}} @@ -338,4 +343,4 @@

{{localize 'CoC7.Target'}}: {{d.targetName}}

{{/unless}} {{/if}} - \ No newline at end of file +