issue with character stats

Hi all, hoping I can get a bit of help with this. I am trying to add in the feature where when you change your race, it will auto add your starting stat attributes, I have that sorted out pretty much, but then they way I'm doing it it wouldn't allow you to edit the stats. one idea I had was add a couple buttons to add or subtract, but not sure how to. any suggestions?

Comments

  • or more precisely I should say I know how to add the buttons themselves, but as I have no experience with JavaScript I need help figuring out the formulae to use

  • If I understand what you are trying to do, what may be best is not to add/subtract the race attributes, but to keep a field (even if its just hidden) that stores the race attribute, and use that field as part of a formula.

  • could you give me some pointers on how to go about that, i'm still learning a lot of this

Leave a Comment