Welcome to the Builder Academy

Question Using real_abils for races

More
23 Sep 2021 19:29 #9932 by Darklands
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!
 

Please Log in or Create an account to join the conversation.

More
27 Sep 2021 21:53 #9936 by thomas
Replied by thomas on topic Using real_abils for races
I think it makes the most sense to choose the race first, then apply the modifiers when the ability scores are rolled (when class is selected).

Please Log in or Create an account to join the conversation.

Time to create page: 0.182 seconds