I've referenced some old posts from adding real_abils to races. Back during that time some things were handled differently and the snippet talks about adding most of code to class.c Being that my races have an independent races.c file and don't use class.c I had some questions about adding the real_abils function to my races.c.
I don't want the abils to be rolled based on the race, I'd prefer that to be handled by the class as it presently is. What I do want to do though, is set modifiers based on the race selected. So +1 str and -2 int for ogres or +2 dex for halflings as an example.
I currently have the player selecting their race before their class, so their race is already chosen before real_abils are rolled.
Do I need to make class selection first so the racial modification has something to apply to? What is the best way to handle this?
Thanks!