mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-05-18 20:23:27 +02:00
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:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user