git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
12cb206
)
sc: link between different include versions
author
Mischa POSLAWSKY
<perl@shiar.org>
Fri, 19 Jun 2015 06:16:16 +0000
(08:16 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 22 Jun 2015 13:38:51 +0000
(15:38 +0200)
sc.plp
patch
|
blob
|
history
diff --git
a/sc.plp
b/sc.plp
index 237ba713f1bbc1c9402cbb308556ae8d1cdf6bc4..48cb282d3a8ea3cf7b8e53aad663b3c290c2c1bc 100644
(file)
--- a/
sc.plp
+++ b/
sc.plp
@@
-47,7
+47,12
@@
die "Cannot open unit data: $_\n" for $@ || $! || ();
my $patch = shift @{$units}
or die "Cannot open unit data: metadata not found\n";
my $patch = shift @{$units}
or die "Cannot open unit data: metadata not found\n";
-print "<p>Unit properties as seen or measured in $scver{name}\n$patch.\n</p>\n\n";
+print "<p>Unit properties as seen or measured in $scver{name}\n$patch.\n";
+print "Also see the $_ table.\n" for join(', ',
+ ('<a href="/sc/2">StarCraft 2: HotS</a>') x ($scver{major} < 2),
+ ('<a href="/sc">original SC: Brood War</a>') x ($scver{major} > 1),
+);
+print "</p>\n\n";
sub addupgrade {
my ($ref, $increase) = @_;
sub addupgrade {
my ($ref, $increase) = @_;