From 7366fec23ee6cb03670303b3e940d0f64a686c39 Mon Sep 17 00:00:00 2001 From: David Carver Date: Mon, 30 Oct 2017 20:20:24 -0400 Subject: [PATCH] Adds ability to display crits in overaly. --- .../templates/squads/html/common/css_leftaligned_squads.ftl | 3 +++ .../templates/squads/html/epic_squad_detail.ftl | 2 +- .../templates/squads/html/leftaligned_squad_detail.ftl | 3 +++ .../templates/squads/html/rightaligned_squad_detail.ftl | 3 +++ 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/bundles/us.nineworlds.xstreamer.templates/templates/squads/html/common/css_leftaligned_squads.ftl b/bundles/us.nineworlds.xstreamer.templates/templates/squads/html/common/css_leftaligned_squads.ftl index 5c0a46e..c0ab592 100644 --- a/bundles/us.nineworlds.xstreamer.templates/templates/squads/html/common/css_leftaligned_squads.ftl +++ b/bundles/us.nineworlds.xstreamer.templates/templates/squads/html/common/css_leftaligned_squads.ftl @@ -8,6 +8,9 @@ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-style: normal; } + .red { + color: red; + } .shields-symbol { font-family: "x-wing-symbols"; font-size: 1.7em; diff --git a/bundles/us.nineworlds.xstreamer.templates/templates/squads/html/epic_squad_detail.ftl b/bundles/us.nineworlds.xstreamer.templates/templates/squads/html/epic_squad_detail.ftl index d7e61e5..0aa885e 100644 --- a/bundles/us.nineworlds.xstreamer.templates/templates/squads/html/epic_squad_detail.ftl +++ b/bundles/us.nineworlds.xstreamer.templates/templates/squads/html/epic_squad_detail.ftl @@ -8,8 +8,8 @@ ${pilot.name}
- ${fun.findShipAgility(pilot.ship)} ^ ${fun.findShipAttack(pilot.ship)} % + ${fun.findShipAgility(pilot.ship)} ^ ${(pilot.shields)!"0"} *   diff --git a/bundles/us.nineworlds.xstreamer.templates/templates/squads/html/leftaligned_squad_detail.ftl b/bundles/us.nineworlds.xstreamer.templates/templates/squads/html/leftaligned_squad_detail.ftl index 58c791f..ccb30f4 100644 --- a/bundles/us.nineworlds.xstreamer.templates/templates/squads/html/leftaligned_squad_detail.ftl +++ b/bundles/us.nineworlds.xstreamer.templates/templates/squads/html/leftaligned_squad_detail.ftl @@ -5,6 +5,9 @@ ${fun.pilotAliveDead(pilot)} ${pilot.name} + <#if pilot.hasCriticalDamage()> + +
% ${fun.findShipAttack(pilot.ship)}  diff --git a/bundles/us.nineworlds.xstreamer.templates/templates/squads/html/rightaligned_squad_detail.ftl b/bundles/us.nineworlds.xstreamer.templates/templates/squads/html/rightaligned_squad_detail.ftl index cb7bc53..2b1a9c0 100644 --- a/bundles/us.nineworlds.xstreamer.templates/templates/squads/html/rightaligned_squad_detail.ftl +++ b/bundles/us.nineworlds.xstreamer.templates/templates/squads/html/rightaligned_squad_detail.ftl @@ -5,6 +5,9 @@ ${fun.pilotAliveDead(pilot)} ${pilot.name} + <#if pilot.hasCriticalDamage()> + +
[${pilot.points}]