diff --git a/app/functions/roll_ability_check.py b/app/functions/roll_ability_check.py index fe4595f..e1be450 100644 --- a/app/functions/roll_ability_check.py +++ b/app/functions/roll_ability_check.py @@ -5,6 +5,6 @@ def roll_ability_check(score, multiplier): threshold = score * multiplier rolled = roll_dices(1, 100, False).get('result') if rolled < threshold: - return {'threshold': threshold, 'rolled': rolled, 'success': True}, 200 + return {'threshold': threshold, 'rolled': rolled, 'success': True} else: - return {'threshold': threshold, 'rolled': rolled, 'success': False}, 200 + return {'threshold': threshold, 'rolled': rolled, 'success': False} diff --git a/web/ability_check.html b/web/ability_check.html new file mode 100644 index 0000000..fe33dcc --- /dev/null +++ b/web/ability_check.html @@ -0,0 +1,65 @@ + + +
+ + +