more minor refactoring of models

This commit is contained in:
Greg Gauthier 2024-06-24 09:49:58 +01:00
parent 5beb9dc544
commit a912229c50

View File

@ -28,8 +28,8 @@ mutation_model = {
}
# Dice model
dice_model = {
'quantity': fields.Integer(required=True, description='The number of dice to roll'),
'geometry': fields.Integer(required=True, description='The number of sides on each die'),
'quantity': fields.Integer(required=True, default=1, description='The number of dice to roll'),
'geometry': fields.Integer(required=True, default=2, description='The number of sides on each die'),
'discard_lowest': fields.Boolean(required=False, default=False, description='Drop the lowest score')
}