Using real_abils for races

  • Darklands
  • Topic Author
  • Offline
  • New Member
  • New Member
7 months 3 weeks ago #9932 by Darklands
Using real_abils for races was created 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?


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

7 months 3 weeks ago #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.074 seconds