gammatools/app/functions/roll_hp.py

10 lines
226 B
Python
Raw Normal View History

from app.functions.roll_dices import roll_dices
def roll_hp(chartype, conscore):
if chartype == 'human':
geometry = 8
else:
geometry = 6
return roll_dices(conscore, geometry, False).get('result')