Member
Join Date: Oct 2011
Location: Browns Mills, NJ
Posts: 75
|
I'm working on a class that has the ability to drain charges from magic items. What I want to do is to put a tracker in the file somewhere that caps the stolen charges at a value equal to the character's CON modifier. Is there a way to do that?
|
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Then add the following script: Post-Attributes/10000 Code:
~ Set or max tracker value to be eaual to our Con Modifier field[trkMax].value += #attrmod[aCON] Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
|
#2 |
Member
Join Date: Oct 2011
Location: Browns Mills, NJ
Posts: 75
|
Thank you so much, that worked perfectly.
|
#3 |
|
|