Junior Member
Join Date: Jan 2017
Posts: 13
|
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 by Logoman; April 16th, 2017 at 04:36 PM. Reason: More information needed to be added (clarification) |
#1 |
Junior Member
Join Date: Jan 2017
Posts: 13
|
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. |
#2 |
Senior Member
Join Date: Jan 2016
Location: Adelaide, Australia
Posts: 2,294
|
Realm Works - Community Links Realm Work and Hero Lab Videos Ream Works Facebook User Group CC3+ Facebook User Group D&D 5e Community Pack - Contributor General Hero Lab Support & Community Resources D&D 5e Community Pack - Install Instructions / D&D 5e Community Pack - Log Fault / D&D 5e Community Pack - Editor Knowledge Base Obsidian Obsidian TTRPG Tutorials |
#3 |
|
|