From 5beb9dc5442a7da0f12b0ed2385f35d9d9b3e9c0 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Mon, 24 Jun 2024 09:41:56 +0100 Subject: [PATCH] more minor refactoring of models/schemas --- models.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/models.py b/models.py index 32d919b..1f7824a 100644 --- a/models.py +++ b/models.py @@ -20,7 +20,7 @@ mutation_model = { 'conscore': conscore_field, 'intscore': fields.Integer( required=True, - default=3, + default=10, min=3, max=21, description='The characters intelligence score' @@ -51,7 +51,7 @@ hp_model = { ma_model = { 'ams': fields.Integer(required=True, description='Attacker Mental Strength'), 'dms': fields.Integer(required=True, description='Defender Mental Strength'), - 'modifier': fields.Integer(required=True, description='Modifier For Mental Strength'), + 'modifier': fields.Integer(required=True, description='Modifier For Mental Attack Roll'), } character_model = { @@ -62,6 +62,7 @@ encounter_model = { 'terrain': fields.String( required=True, default="clear", - description='The terrain being traversed by the party when the encounter roll is made' + description='The terrain being traversed by the party when the encounter roll is made. Valid values are: ' + '"clear", "mountains", "forest", "desert", "watery", "ruins", "deathlands"' ) }