description => [
"Reference of $scver{game} unit properties,"
. " comparing various statistics of all the units in $scver{name}"
description => [
"Reference of $scver{game} unit properties,"
. " comparing various statistics of all the units in $scver{name}"
$scver{major} < 2 ? qw' bw broodwar brood war ' :
qw' starcraft2 lotv hots wol ',
],
$scver{major} < 2 ? qw' bw broodwar brood war ' :
qw' starcraft2 lotv hots wol ',
],
- stylesheet => [qw( light dark )],
- raw => '<link rel="stylesheet" type="text/css" media="all" href="/sc.css?1.2">',
+ stylesheet => [qw( light dark mono )],
+ raw => '<link rel="stylesheet" type="text/css" media="all" href="/sc.css?1.3">',
my $specials = $row->{special} or return '';
return join ' ', map {
sprintf '<span%s title="%s">%s</span>',
my $specials = $row->{special} or return '';
return join ' ', map {
sprintf '<span%s title="%s">%s</span>',
- $_->{duration} < 0 && ' class="magic-perma"',
+ join('',
+ $_->{duration} < 0 && ' class="magic-perma"',
+ $_->{detect} && ' class="unit-detect"',
+ ),
!!$_->{base} && sprintf(
'<span class="unit-composed" title="%s">+</span>',
'from '.join('+', @{ $_->{base} }),
!!$_->{base} && sprintf(
'<span class="unit-composed" title="%s">+</span>',
'from '.join('+', @{ $_->{base} }),