diff options
Diffstat (limited to 'crawl-ref/source/util')
-rwxr-xr-x | crawl-ref/source/util/gen-apt.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/util/gen-apt.pl b/crawl-ref/source/util/gen-apt.pl index fe7477aed9..166924241b 100755 --- a/crawl-ref/source/util/gen-apt.pl +++ b/crawl-ref/source/util/gen-apt.pl @@ -146,6 +146,11 @@ sub aptitude_table my $fmt = "%+3d"; $fmt = "%3d" if $skill == 0; $fmt = " NA" if $skill == -99; + if ($abbr eq 'HP' || $abbr eq 'MP') + { + $skill = 100 + $skill * 10; + $fmt = "%3d%%"; + } $line .= sprintf($fmt, $skill); } $text .= "$line\n"; |