sc: subunit category in header cells (like parent)
[sheet.git] / sc.plp
diff --git a/sc.plp b/sc.plp
index 7f927cacef87c449356b996d70f61a272f9190d4..3f6b78147b6b48bef73181064946a1f342f0bc18 100644 (file)
--- a/sc.plp
+++ b/sc.plp
@@ -246,6 +246,10 @@ sub showval {
                                showval($_, 'sight')
                        ),
                        '<td class="val unit-speed">' . showval($_, 'speed'),
+                       $_->{attr}->{jump}
+                               && qq'<span class="unit unit-jump" title="$_->{attr}->{jump}">↕</span>',
+                       $_->{attr}->{flying}
+                               && qq'<span class="unit unit-jump" title="flying">↑</span>',
                        '<td class="unit-magic">' . showmagic($_),
                        "\n"
                );
@@ -289,7 +293,7 @@ sub showval {
                for my $subrow (@{ $_->{special} }) {
                        $subrow->{alt} or next;
                        print(
-                               '<tr class="alt"><td class="cat"><td>', $subrow->{alt},
+                               '<tr class="alt"><th class="cat"><td>', $subrow->{alt},
                                showunitcols($subrow),
                        );
                }
@@ -315,7 +319,8 @@ if ($scver{major} > 1) {
                4 <span class="unit unit-m">M</span>edium,
                2 <span class="unit unit-l">L</span>arge,
                or a single <span class="unit unit-h">H</span>uge unit
-       <dd>massive <span class="unit-massive">⚓</span> units are immune to certain spells<:
+       <dd>massive <span class="unit-massive">⚓</span> units
+               cannot be lifted or slowed and can break force fields<:
 } else {
                :>affected by <span class="unit unit-s">S</span>mall,
                <span class="unit unit-m">M</span>edium, or