Senior Member
Volunteer Data File Contributor
Join Date: May 2010
Location: Mountlake Terrace, Washington
Posts: 407
|
So I am entering an archetype for the alchemist that allows them to craft and maintain devices with a GP value based on their level. I managed to get that script working perfectly. What I'm trying to do now is add a feat that will increase the level by 1 when chosen. I tried looking at Boon Companion (the only feat I can think of that does this) but I think that the script is more complex than I want. What I thought about doing was to have the new feat just replace the old ability. I can't get it to compile and I'm not sure why. I simply did a cut and paste then adjusted the values to be what I want them to be.
Spagyric Device gp limit Script: Quote:
Extra Devices Script: Quote:
|
||
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
You shouldn't use xCount ever directly. You should have put the count into abValue. By using abValue you can easily adjust the value up or down from outside Things.
Code:
field[abValue].value += field[xCount].value Then all your feat had to do was run at a timing about 100 before your script and do: Code:
#value[UNIQUE_ID_OF_CLASS_SPECIAL] += 1 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 |
Senior Member
Volunteer Data File Contributor
Join Date: May 2010
Location: Mountlake Terrace, Washington
Posts: 407
|
That was beautiful. I knew I was making it harder than it needed to be! Now to do a few more things and I will be done with SGG/RGG: Alchemist Discoveries. I think I'm 95% done, maybe more!
|
#3 |
|
|