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
(parent:
bf2e780
)
sc: display upgrade range of 0 bonus damage
author
Mischa POSLAWSKY
<perl@shiar.org>
Wed, 10 Nov 2021 03:15:57 +0000
(
04:15
+0100)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 6 Dec 2021 11:07:29 +0000
(12:07 +0100)
Fix missing values for Hellbat and Tempest, after initial workaround in
commit
v1.11-29-g7813ee51b9
(2018-05-10) [visibility of optional hellbat
bonus damage].
sc.plp
patch
|
blob
|
history
diff --git
a/sc.plp
b/sc.plp
index 1c9e7b673f1c4b10108fc8c621e266786ccda8ea..19149cf9eab759e64087bf1f79aec3bf80644b42 100644
(file)
--- a/
sc.plp
+++ b/
sc.plp
@@
-184,7
+184,8
@@
sub showrangeint {
sprintf('+%s vs %s',
showrangeint(
$attack->{bonus}->{$_},
- $attack->{bonus}->{$_} + $attack->{bonus}->{"-$_"} * 3,
+ ($upattack->{bonus} // $attack->{bonus})->{$_}
+ + ($upattack->{bonus} // $attack->{bonus})->{"-$_"} * 3,
),
$_,
),