add default of 'all' to ability model
This commit is contained in:
		
							parent
							
								
									b7d7881a11
								
							
						
					
					
						commit
						f866fc7767
					
				@ -15,7 +15,10 @@ dice_model = {
 | 
				
			|||||||
# Ability model
 | 
					# Ability model
 | 
				
			||||||
ability_model = {
 | 
					ability_model = {
 | 
				
			||||||
    'chartype': chartype_field,
 | 
					    '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
 | 
					# Hp model
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user