add default of 'all' to ability model

This commit is contained in:
Greg Gauthier 2024-06-23 18:44:55 +01:00
parent b7d7881a11
commit f866fc7767

View File

@ -15,7 +15,10 @@ dice_model = {
# Ability model
ability_model = {
'chartype': chartype_field,
'ability': fields.String(required=False, description='The ability to roll. Not required. Defaults "generic"'),
'ability': fields.String(
required=False,
default="all",
description='The ability to roll. Not required. Defaults "generic"'),
}
# Hp model