• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Increasing Hit Dice for a custom class

Logoman

Member
I am needing some help with some scripting. I have a class that I have created for 5e and I have created a feature that the player can choose that allows the hit dice to increase from d6 to d8.

They can pick this path at level 1, so it would have to change the base hit dice as well and add 2 to the score.

I am somewhat familiar with basic scripting to change attributes and such, but this one has me stumped.

Thanks in advance.
 
Last edited:
And so found what I needed and here it is

hero.child[cHelpXXX].field[cHDSides].value += 2

Added this to the eval script in the feature and it worked perfectly.
 
Back
Top