From 5519745b6f66f03baee35ddcf4acfd8111097847 Mon Sep 17 00:00:00 2001 From: Wrycu Date: Tue, 19 Mar 2024 12:50:42 -0700 Subject: [PATCH] feat(combat): show defeated enemies * actor tracker at the top of the combat tracker now shows defeated actors #1374 --- styles/mandar.css | 3 +++ templates/dialogs/combat-tracker.html | 18 +++++++++--------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/styles/mandar.css b/styles/mandar.css index c5deb806..09e06984 100644 --- a/styles/mandar.css +++ b/styles/mandar.css @@ -3989,6 +3989,9 @@ img { .starwarsffg #combat-tracker .slot-claimed { filter: grayscale(100%); } +.starwarsffg #combat-tracker .token-image.actor-header.defeated { + filter: blur(1px) grayscale(50%); +} .starwarsffg #combat-tracker .encounter-controls .actor-header { font-size: 14px; } diff --git a/templates/dialogs/combat-tracker.html b/templates/dialogs/combat-tracker.html index e2e681fb..2146c543 100644 --- a/templates/dialogs/combat-tracker.html +++ b/templates/dialogs/combat-tracker.html @@ -68,12 +68,12 @@

{{localize "COMBAT.None"}}

{{#each turnData.Friendly }} {{#if ../user.isGM }} - {{name}} + {{name}} {{else}} {{#if hidden}} - {{localize + {{localize {{else}} - {{name}} + {{name}} {{/if}} {{/if}} {{/each}} @@ -86,12 +86,12 @@

{{localize "COMBAT.None"}}

{{#each turnData.Enemy }} {{#if ../user.isGM }} - {{name}} + {{name}} {{else}} {{#if hidden}} - {{localize + {{localize {{else}} - {{name}} + {{name}} {{/if}} {{/if}} {{/each}} @@ -104,12 +104,12 @@

{{localize "COMBAT.None"}}

{{#each turnData.Neutral }} {{#if ../user.isGM }} - {{name}} + {{name}} {{else}} {{#if hidden}} - {{localize + {{localize {{else}} - {{name}} + {{name}} {{/if}} {{/if}} {{/each}}