Legend-Mama / legend-mama

Monorepo for Legend Mama!
https://eecs.engineering.oregonstate.edu/project-showcase/projects/?id=itglaptdWQL2Q8D9
0 stars 1 forks source link

Develop 5e character sheet check #32

Open megw-school opened 4 months ago

megw-school commented 4 months ago

Helper functions that check character sheet fields are compliant with 5e rules.

kevy-kev commented 4 months ago

Once again I tried to assign multiple people to an issue and it wouldn't let me.. in my defense on the projects board view it said "assign up to 10"

megw-school commented 4 months ago

Implemented a point buy validation helper and a selection validation helper along with tests. Point buy validation is for checking and correcting ability scores. Selection validation is for checking and correcting anything that provides options. For example, across race, class, and background there are required values for things like skill proficiency, tool proficiency, and languages, but sometimes there are also opportunities for choosing from a subset. Selection validation will check that required values were provided along with valid selections from various choices.

Point Buy Validation

Selection Validation