From: Mischa POSLAWSKY Date: Sun, 22 Apr 2018 10:01:53 +0000 (+0200) Subject: sc: calculate upgraded hp maximum X-Git-Tag: v1.12~60 X-Git-Url: http://git.shiar.net/sheet.git/commitdiff_plain/681c73d50a05475fe165a51c8251ab32b0f7cefa sc: calculate upgraded hp maximum Besides Marine also relevant for Banes now. --- diff --git a/sc.plp b/sc.plp index 53934f2..f0824bf 100644 --- a/sc.plp +++ b/sc.plp @@ -319,7 +319,7 @@ sub showrangeint { && '⚓', ), $_->{hp} < 0 ? '∞' : - '' . $_->{hp} // '', + '' . showrangeint($_->{hp}, $_->{upgraded}->{hp}), $_->{shield} ? sprintf('%.0f%%{shield} / $_->{hp} ) : '