fix reroll max hp

This commit fixes a bug that occured in create-character menu.
The 'reroll max hp' option crashed due to invalid parameters of
function.
This commit is contained in:
Robert Kubosz
2020-05-11 18:45:50 +02:00
parent 8f0facc429
commit edb30f3443
+1 -1
View File
@@ -125,7 +125,7 @@ class App(npyscreen.NPSAppManaged):
if i == 0:
num -= 1
for d in range(num):
hp_max += randint(low=1, high=hd.faces+1) + const
hp_max += randint(1, hd.faces) + const
abil.hp_max.value = str(hp_max)
abil.display()