X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/0b8bef5d90f31a47aa1fc1d19c7508064bc76ec1..77814bcd7d178a8d353ca1625680f36c824a7fa0:/sc.plp?ds=inline diff --git a/sc.plp b/sc.plp index 3c018e5..4ad48a3 100644 --- a/sc.plp +++ b/sc.plp @@ -251,7 +251,10 @@ sub showrangeint { my $specials = $row->{special} or return ''; return join ' ', map { sprintf '%s', - $_->{duration} < 0 && ' class="magic-perma"', + join('', + $_->{duration} < 0 && ' class="magic-perma"', + $_->{detect} && ' class="unit-detect"', + ), join('', $_->{name} // $_->{alt}, $_->{desc} ? ": $_->{desc}" : '', @@ -278,7 +281,7 @@ sub showrangeint { $_->{transform}, ) : !defined $_->{build} ? '