10 lines
226 B
Python
10 lines
226 B
Python
|
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')
|