sc: more recognisable splash damage indicator
authorMischa POSLAWSKY <perl@shiar.org>
Sat, 20 Jun 2015 04:46:37 +0000 (06:46 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 22 Jun 2015 13:38:51 +0000 (15:38 +0200)
Reuse normal/undotted cross for linear damage, and introduce
U+205C DOTTED CROSS for area splash similar to the in-game icon
(circle surrounded by 5 dots).

sc.plp

diff --git a/sc.plp b/sc.plp
index 5911275d119720053099aa0fc776fa162fd0aa76..2a17bc86bae1fb009aef03f27b9a4d8b73276c3b 100644 (file)
--- a/sc.plp
+++ b/sc.plp
@@ -160,7 +160,7 @@ sub showrange {
                $out .= showrange($damage, $maxdamage);
                $out .= '</span>' if $attack->{name};
                $out .= sprintf('<span class="unit-splash" title="%s">%s</span>',
-                       $attack->{splash} eq 'line' ? ('linear', '×') : ('splash', '+')
+                       $attack->{splash} eq 'line' ? ('linear', '+') : ('splash', '⁜')
                ) if $attack->{splash};
 
                $out .= '<td class="val hurt hurtrel">';
@@ -415,8 +415,8 @@ if ($scver{major} > 1) {
        <dd>damage given per single hit
        <dd><span class="hurtrel">dps</span> indicates relative amount of damage
                done in 1 second of in-game time
-       <dd>splash damage hits all objects nearby <span class="unit-splash">+</span>
-               or in a straight line <span class="unit-splash">×</span>.
+       <dd>splash damage hits all objects nearby <span class="unit-splash"></span>
+               or in a straight line <span class="unit-splash">+</span>.
        <dd><:
 if ($scver{major} > 1) {
                :>does not include <span>&ge;</span>bonus damage